On Tue, 2004-08-03 at 08:18, [EMAIL PROTECTED] wrote:
> Hi,
> 
> I recently installed php 5.0.0 but it seems that it does not
> interpret php-files and send it's contetnt as-is:
> 
> > curl -i http://localhost/phpinfo.php
> HTTP/1.1 200 OK
> Date: Tue, 03 Aug 2004 07:01:17 GMT
> Server: Apache/1.3.31 (Unix) PHP/5.0.0 mod_perl/1.29 rus/PL30.20
> Last-Modified: Sun, 01 Aug 2004 20:46:51 GMT
> ETag: "37607-14-410d56bb"
> Accept-Ranges: bytes
> Content-Length: 20
> Connection: close
> Content-Type: application/x-httpd-php
> 
> <?php phpinfo(); ?>
> 
> where "<?php phpinfo(); ?>" is the content of phpinfo.php. The
> same thing happens with any other .php-file.
> 
> Has anybody seen such problem before?
> 
> Vadim.
> 

Vadim,

The LoadModule lines for httpd are slightly different in PHP5. They have
"5" not "4". Did you change these? If not then a .php file would not be
sent to php but sent out of the webserver "as is".

HTH
Chris

Reply via email to