Re: Apache-Win-PHP 500 Internal Error but page served

From: Date: Thu, 01 May 2003 20:28:17 +0000
Subject: Re: Apache-Win-PHP 500 Internal Error but page served
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-19744@lists.php.net to get a copy of this message
hej:: you didn't type a ";" at the end of your // echo "hello" //. when phpinfo is working, everything should work fine. If not, you have to add "Action application" and "Add Type" for php support. -- --------------------------------------- "Whatever you can do or dream you can, begin it. Boldness has genius, power and magic in it." --------------------------------------- "Christopher Hill" <Cmh33@btinternet.com> schrieb im Newsbeitrag news:20030501101341.79242.qmail@pb1.pair.com... > Trying to get stand-alone Windows/Apache/PHP configuration > to test site before putting it live. > > All seems to be running well, apart from Apache is giving > status 500 Internal Server Error for PHP pages. > I can't find any other error messages. I would welcome > assistance in tracking down the cause of this problem. > > Additional info follows > > Christopher Hill > > --BEGIN-- > > Windows 2000 (Windows NT 5.0 build 2195) > Apache 1.3.24 (Win32) > PHP Version 4.2.3 > > php -i produces phpinfo with no errors or warnings > as does phpinfo() served from Apache (other than then > 500 Internal Error in response header!). > > A requests made via telnet to localhost port 80 using > GET /t.htm HTTP/1.0 > GET /t.php HTTP/1.0 > > typical response headers for .htm file > --start---------------------- > HTTP/1.1 200 OK > Date: Thu, 01 May 2003 09:59:52 GMT > Server: Apache/1.3.24 (Win32) > Last-Modified: Thu, 01 May 2003 09:59:34 GMT > ETag: "0-48-3eb0f006" > Accept-Ranges: bytes > Content-Length: 72 > Connection: close > Content-Type: text/html > > <html> > <head></head> > <body> > <?php echo "Hello" ?> > </body> > </html> > > --finish-------------------- > > typical response headers for .php file > --start---------------------- > HTTP/1.1 500 Internal Server Error > Date: Thu, 01 May 2003 10:01:23 GMT > Server: Apache/1.3.24 (Win32) > X-Powered-By: PHP/4.2.3 > Connection: close > Content-Type: text/html; charset= > > <html> > <head></head> > <body> > Hello</body> > </html> > > --finish-------------------- > > access log follows > --start-------------------- > 127.0.0.1 - - [01/May/2003:09:03:34 +0100] "GET / HTTP/1.1" - 11108 > 127.0.0.1 - - [01/May/2003:09:03:34 +0100] "GET /images/lnwrarms.gif > HTTP/1.1" 200 5895 > 127.0.0.1 - - [01/May/2003:09:03:34 +0100] "GET /images/whitebar.gif > HTTP/1.1" 200 76 > 127.0.0.1 - - [01/May/2003:09:03:35 +0100] "GET /lnwrs.css HTTP/1.1" 200 > 10054 > 127.0.0.1 - - [01/May/2003:09:04:36 +0100] "GET > /archive01.php?PHPSESSID=4c51c7648f321ac193ed4377804e0acb HTTP/1.1" - 8780 > 127.0.0.1 - - [01/May/2003:09:04:38 +0100] "GET /Members/archivesearch.php > HTTP/1.1" - 3119 > 127.0.0.1 - - [01/May/2003:09:04:45 +0100] "POST /Members/archivesearch.php > HTTP/1.1" - 7253 > 127.0.0.1 - - [01/May/2003:09:04:45 +0100] "GET /images/AtWork.gif HTTP/1.1" > 200 2052 > 127.0.0.1 - - [01/May/2003:11:01:23 +0100] "GET /t.php HTTP/1.0" - 54 > 127.0.0.1 - - [01/May/2003:11:02:52 +0100] "GET /t.htm HTTP/1.0" 200 72 > --finish-------------------- > note dash in place of status on PHP pages. > > With LogLevel set to debug (in http.conf) all I get is > --start--------------------- > [Thu May 01 09:03:08 2003] [info] Parent: Created child process 1820 > [Thu May 01 09:03:08 2003] [info] Parent: Duplicating socket 260 and sending > it to child process 1820 > [Thu May 01 09:03:08 2003] [info] BytesRead = 372 WSAProtocolInfo = 2006620 > --finish-------------------- > > --END-- > >

« previous php.windows (#19744) next »