Re: Apache-Win-PHP 500 Internal Error but page served
| From: | Christopher Hill | Date: | Fri, 02 May 2003 05:18:34 +0000 |
| Subject: | Re: Apache-Win-PHP 500 Internal Error but page served | ||
| References: | 1 2 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-19747@lists.php.net to get a copy of this message | ||
"Kit Dekat" <kitdekat@earthlink.net> wrote in message
news:5.2.0.9.2.20030501160114.00ac5d40@pop.earthlink.net...
> do you have PHP running as a service or CGI executable.
> i had to tell Apache how to handle PHP files for parsing.
> i think something similar is needed for CGI install also.
>
> # Add PHP4 support to Apache2.0.4x
> #
> LoadModule php4_module D:/var/php/sapi/php4apache2.dll
> AddType application/x-httpd-php .php .php3 .phtml
> AddType application/x-httpd-php-source .phps
>
> b/c it looks like the PHP parser is running,
> only Apache complains about what it did.
>
> At 11:13 AM 5/1/2003 +0100, you wrote:
>
> >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
> >
> ><?php echo "Hello" ?>
> >--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=
> >
> >Hello
> >--finish--------------------
>
> Best regards,
> Kit DeKat
> mailto:kitdekat@earthlink.net
> Systems Programmer
>
> -----BEGIN PERL GEEK CODE BLOCK-----
> Version: 0.01
> P++>+++@$c---P6-R >++M+$O+>+++(++)$MA >+E+PU >+BD >++C >*$
> D++S++>+++@X>++WP?MO?PP!n?CO?PO--o?G A--Ee+++Ev w+m!
> ------END PERL GEEK CODE BLOCK------
>