|
|
|
|
||||||
| alt.apache.configuration Apache web server configuration issues. |
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
Easy PHP V2.0 Vista Home Premium (x32) As soon as I connect, I get an Error Message (and PHP stops): Apache HTTP server has stopped working. A problem caused the program to stop working correctly. Windows will close the program and notify you if a solution is available. P |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1 PHPBABY3 wrote: > Easy PHP V2.0 > > Vista Home Premium (x32) > > As soon as I connect, I get an Error Message (and PHP stops): > > Apache HTTP server has stopped working. A problem caused the program > to stop working correctly. Windows will close the program and notify > you if a solution is available. > > P Does Windows give you a solution? I doubt it. Can you run the Apache server with the -X flag and see what output you get on the command line when you recreate the error? - -- The OC48 to the Death Star is blown because of Bernard Shifman threatening to sue. Valve Software is ignoring the fact that they have one network admin left. :: http://www.s5h.net/ :: http://www.s5h.net/gpg.html -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD4DBQFHq6cg4dyr7s6PRYgRAhWFAJ4rHSp4uBTjKEcM3RFMdw i5OJjTrwCYgo2u GqzrCL2od/c081j/ovVJMg== =hfwi -----END PGP SIGNATURE----- |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
On Feb 7, 7:50pm, ed <e...@example.test> wrote:
> -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > PHPBABY3 wrote: > > Easy PHP V2.0 > > > Vista Home Premium (x32) > > > As soon as I connect, I get an Error Message (and PHP stops): > > > Apache HTTP server has stopped working. A problem caused the program > > to stop working correctly. Windows will close the program and notify > > you if a solution is available. > > > P > > Does Windows give you a solution? I doubt it. Correct. Unless I should look somewhere. > Can you run the Apache server with the -X flag and see what output you > get on the command line when you recreate the error? How do I do that in WIndows? P > - -- > The OC48 to the Death Star is blown because of Bernard Shifman > threatening to sue. > Valve Software is ignoring the fact that they have one network admin left. > ::http://www.s5h.net/::http://www.s5h.net/gpg.html > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.6 (GNU/Linux) > Comment: Using GnuPG with Mozilla -http://enigmail.mozdev.org > > iD4DBQFHq6cg4dyr7s6PRYgRAhWFAJ4rHSp4uBTjKEcM3RFMdw i5OJjTrwCYgo2u > GqzrCL2od/c081j/ovVJMg== > =hfwi > -----END PGP SIGNATURE----- |
|
|
|
#4 |
|
Messages: n/a
Hébergeur: |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1 PHPBABY3 wrote: > On Feb 7, 7:50 pm, ed <e...@example.test> wrote: > PHPBABY3 wrote: >>>> Easy PHP V2.0 >>>> Vista Home Premium (x32) >>>> As soon as I connect, I get an Error Message (and PHP stops): >>>> Apache HTTP server has stopped working. A problem caused the program >>>> to stop working correctly. Windows will close the program and notify >>>> you if a solution is available. >>>> P > Does Windows give you a solution? I doubt it. > >> Correct. Unless I should look somewhere. > > Can you run the Apache server with the -X flag and see what output you > get on the command line when you recreate the error? > >> How do I do that in WIndows? Same as you would on linux. Goto the start menu and look at the bat file that starts up apache, then then edit it. Go to a command line, go to the apache program directory (maybe \program files\apache 2?) Then run apache2 -X You will have to stop apache before doing this. - -- The Ether to Redback1 is screaming like Bryan Bird because of Some newbie fatfingering their password. The Script Kiddy is smoking crack. :: http://www.s5h.net/ :: http://www.s5h.net/gpg.html -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHrFHj4dyr7s6PRYgRAmUeAJ4pVBalX5ER5WtivODlPB qQyFWypACeOhq8 dLCkS0mAA+CHXnYG9kHahBU= =XhkI -----END PGP SIGNATURE----- |
|
|
|
#5 |
|
Messages: n/a
Hébergeur: |
On Feb 8, 7:55am, ed <e...@example.test> wrote:
> -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > > > > > PHPBABY3 wrote: > > On Feb 7, 7:50 pm, ed <e...@example.test> wrote: > > PHPBABY3 wrote: > >>>> Easy PHP V2.0 > >>>> Vista Home Premium (x32) > >>>> As soon as I connect, I get an Error Message (and PHP stops): > >>>> Apache HTTP server has stopped working. A problem caused the program > >>>> to stop working correctly. Windows will close the program and notify > >>>> you if a solution is available. > >>>> P > > Does Windows give you a solution? I doubt it. > > >> Correct. Unless I should look somewhere. > > > Can you run the Apache server with the -X flag and see what output you > > get on the command line when you recreate the error? > > >> How do I do that in WIndows? > > Same as you would on linux. I am a programmer and know PHP but I don't know anything about Apache. > Goto the start menu and look at the bat file that starts up apache, I assume you mean to go to the start menu just to start up software to display some particular file, but don't know how to tell if a file is the bat file that starts up apache. > then then edit it. Edit it to what? What do I look for and what do I change it to? > Go to a command line, Where's that? > go to the apache program directory (maybe \program files\apache 2?) I guess that's c:\Program Files\EasyPHP 2.0b1 > Then run apache2 -X How do I do that? > You will have to stop apache before doing this. I now how to do that. P > - -- > The Ether to Redback1 is screaming like Bryan Bird because of Some > newbie fatfingering their password. > The Script Kiddy is smoking crack. > ::http://www.s5h.net/::http://www.s5h.net/gpg.html > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.6 (GNU/Linux) > Comment: Using GnuPG with Mozilla -http://enigmail.mozdev.org > > iD8DBQFHrFHj4dyr7s6PRYgRAmUeAJ4pVBalX5ER5WtivODlPB qQyFWypACeOhq8 > dLCkS0mAA+CHXnYG9kHahBU= > =XhkI > -----END PGP SIGNATURE------ Hide quoted text - > > - Show quoted text - |
|
|
|
#6 |
|
Messages: n/a
Hébergeur: |
On Fri, 8 Feb 2008 09:52:25 -0800 (PST), PHPBABY3
<shymathguy@gmail.com> wrote: >On Feb 8, 7:55am, ed <e...@example.test> wrote: >> PHPBABY3 wrote: >> > On Feb 7, 7:50 pm, ed <e...@example.test> wrote: >> > PHPBABY3 wrote: >> >>>> Easy PHP V2.0 >> >>>> Vista Home Premium (x32) >> >>>> As soon as I connect, I get an Error Message (and PHP stops): >> >>>> Apache HTTP server has stopped working. A problem caused the program >> >>>> to stop working correctly. Windows will close the program and notify >> >>>> you if a solution is available. >> >>>> P >> > Does Windows give you a solution? I doubt it. >> >> >> Correct. Unless I should look somewhere. >> >> > Can you run the Apache server with the -X flag and see what output you >> > get on the command line when you recreate the error? >> >> >> How do I do that in WIndows? >> >> Same as you would on linux. > >I am a programmer and know PHP but I don't know anything about Apache. > >> Goto the start menu and look at the bat file that starts up apache, > >I assume you mean to go to the start menu just to start up software to >display some particular file, but don't know how to tell if a file is >the bat file that starts up apache. > >> then then edit it. > >Edit it to what? What do I look for and what do I change it to? > >> Go to a command line, > >Where's that? > >> go to the apache program directory (maybe \program files\apache 2?) > >I guess that's c:\Program Files\EasyPHP 2.0b1 > >> Then run apache2 -X > >How do I do that? I don't mean to offend you, but if you don't know CS 101, you'd better ask your system administrator. If you _are_ the system administrator, try to make yourself more comfortable with basic system administration. In my humble opinion a PHP programmer who develops dynamic websites has to be aware of the platform he is developing for (or be comfortable with a hacked site). In this case: stop the apache service. Then choose Start menu: Run in the Open: textbox type CMD (enter) CD to the directory where you installed apache, for example: cd /d "C:\Program Files\Apache2" (enter) then type: bin\apache -X (enter) or bin\httpd -X (enter) to see error messages. There may be events in your Windows event log, and it also pays off to check the apache errorlog. Assuming you installed Apache in C:\Program Files\Apache2 , the errorlog can be found in C:\Program Files\Apache2\logs . HTH -- ( Kees ) c[_] Nostalgia isn't what it used to be. (#86) |
|
|
|
#7 |
|
Messages: n/a
Hébergeur: |
On Feb 8, 2:25pm, Kees Nuyt <k.n...@nospam.demon.nl> wrote:
> On Fri, 8 Feb 2008 09:52:25 -0800 (PST), PHPBABY3 > <shymath...@gmail.com> wrote: > >On Feb 8, 7:55am, ed <e...@example.test> wrote: > >> PHPBABY3 wrote: > >> > On Feb 7, 7:50 pm, ed <e...@example.test> wrote: > >> > PHPBABY3 wrote: > >> >>>> Easy PHP V2.0 > >> >>>> Vista Home Premium (x32) > >> >>>> As soon as I connect, I get an Error Message (and PHP stops): > >> >>>> Apache HTTP server has stopped working. A problem caused the program > >> >>>> to stop working correctly. Windows will close the program and notify > >> >>>> you if a solution is available. > >> >>>> P > >> > Does Windows give you a solution? I doubt it. > > >> >> Correct. Unless I should look somewhere. > > >> > Can you run the Apache server with the -X flag and see what output you > >> > get on the command line when you recreate the error? > > >> >> How do I do that in WIndows? > > >> Same as you would on linux. > > >I am a programmer and know PHP but I don't know anything about Apache. > > >> Goto the start menu and look at the bat file that starts up apache, > > >I assume you mean to go to the start menu just to start up software to > >display some particular file, but don't know how to tell if a file is > >the bat file that starts up apache. > > >> then then edit it. > > >Edit it to what? What do I look for and what do I change it to? > > >> Go to a command line, > > >Where's that? > > >> go to the apache program directory (maybe \program files\apache 2?) > > >I guess that's c:\Program Files\EasyPHP 2.0b1 > > >> Then run apache2 -X > > >How do I do that? > > I don't mean to offend you, but if you don't know CS 101, How could a PHP programmer not know CS 101? That's Apache 101 - no, I don't. > you'd better ask your system administrator. > If you _are_ the system administrator, try to make > yourself more comfortable with basic system > administration. I need once or twice a year. Better to give it to the experts than to learn something myself that I use so rarely. Besides, technology's too complex to not specialize. Speaking of which: I isolated the PHP code to an infinite (recursive) stack, as in function abc() { return abc() ; } ; I will repost as how to not crash when it occurs. > In my humble opinion a PHP programmer who develops dynamic > websites has to be aware of the platform he is developing > for (or be comfortable with a hacked site). > > In this case: stop the apache service. > Then choose Start menu: Run > in the Open: textbox type > CMD (enter) > > CD to the directory where you installed apache, for > example: > cd /d "C:\Program Files\Apache2" (enter) > then type: > bin\apache -X (enter) "This application has failed to start because LIBMYSQL.dll was not found. Re-installing the application may fix this problem." > or > bin\httpd -X (enter) " 'bin\httpd' is not recognized as an internal or external command, operable program or batch file." > to see error messages. What happened to the edit to a file? > There may be events in your Windows event log, and it also > pays off to check the apache errorlog. Nothing there. > Assuming you > installed Apache in C:\Program Files\Apache2 , I installed Easy PHP. Thanks, P. BTW I wrote a 200 page book on how to optimize applications software, especially database applications, a few years ago. It was pretty popular - about 10,000 copies sold over a 10 year period. It was listed as the only advanced book on the subject in the publisher's catalog - among a bunch of introductory and intermediate texts. So I guess it wasn't CS 101 afer all. > the > errorlog can be found in C:\Program Files\Apache2\logs . > > HTH > -- > ( Kees > ) > c[_] Nostalgia isn't what it used to be. (#86)- Hide quoted text - > > - Show quoted text - |
|
|
|
#8 |
|
Messages: n/a
Hébergeur: |
rOn Sat, 9 Feb 2008 07:41:36 -0800 (PST), PHPBABY3
<shymathguy@gmail.com> wrote: >On Feb 8, 2:25pm, Kees Nuyt <k.n...@nospam.demon.nl> wrote: >> On Fri, 8 Feb 2008 09:52:25 -0800 (PST), PHPBABY3 >> >> >> Go to a command line, >> >> >Where's that? >> >> >> go to the apache program directory (maybe \program files\apache 2?) >> >> >I guess that's c:\Program Files\EasyPHP 2.0b1 >> >> >> Then run apache2 -X >> >> >How do I do that? >> >> I don't mean to offend you, but if you don't know CS 101, > >How could a PHP programmer not know CS 101? That's Apache 101 - no, I >don't. Going to a command line doesn't have much to do with apache. But let's get to business ![]() [snip] >> In this case: stop the apache service. >> Then choose Start menu: Run >> in the Open: textbox type >> CMD (enter) >> >> CD to the directory where you installed apache, for >> example: >> cd /d "C:\Program Files\Apache2" (enter) >> then type: >> bin\apache -X (enter) > >"This application has failed to start because LIBMYSQL.dll was not >found. Re-installing the application may fix this problem." Ok, it seems you have apache and php, but mysql is missing. If EasyPHP installs MySQL, try copying the LIBMYSQL.dll into the .....\apache\bin directory and try again. If EasyPHP doesn't come with MySQL, but you still want to use it, you could uninstall EasyPHP and install XAMPP, which usually runs out of the box. http://www.apachefriends.org/en/xampp.html Also, there is more discussion about XAMPP in alt.apache.configuration than about EasyPHP, so using XAMPP might increase the amount of feedback you get. >> or >> bin\httpd -X (enter) > >" 'bin\httpd' is not recognized as an internal or external command, >operable program or batch file." That is to be expected. I mentioned both apache and httpd because it depends on the distribution how the executable is called. >> to see error messages. > >What happened to the edit to a file? We can do that once we know that's necessary. >> There may be events in your Windows event log, and it also >> pays off to check the apache errorlog. > >Nothing there. Ok. >> Assuming you >> installed Apache in C:\Program Files\Apache2 , > >I installed Easy PHP. I don't know what installpaths EasyPHP uses for Apache. Probably something like : C:\Program Files\EasyPHP 2.0b1\apache Then the program is C:\Program Files\EasyPHP 2.0b1\apache\bin\apache.exe and the errorlog is C:\Program Files\EasyPHP 2.0b1\apache\logs\error.log But the message from bin\apache -X is enough for now. >Thanks, > >P. > >BTW I wrote a 200 page book on how to optimize applications software, >especially database applications, a few years ago. It was pretty >popular - about 10,000 copies sold over a 10 year period. It was >listed as the only advanced book on the subject in the publisher's >catalog - among a bunch of introductory and intermediate texts. So I >guess it wasn't CS 101 afer all. I apologize for underestimating you. Anyway, I hope this s. -- ( Kees ) c[_] Tidying the house while the children are growing is like shovelling snow while it's still snowing. (#235) |
|
![]() |
| Outils de la discussion | |
|
|