PHP not working with Apache

From: Date: Mon, 16 Sep 2002 11:31:35 +0000
Subject: PHP not working with Apache
Groups: php.install 
Request: Send a blank email to php-install+get-8462@lists.php.net to get a copy of this message
Hi, I've got Apache 1.3.26 up + running, with PHP 4.2.3 compiled into it, but when I try to open a .php page, the server isn't passing it to apache, instead the browser tries to download it. I have the line AddType application/x-httpd-php .php in the httpd.conf file, as per the instructions. When running httpd -l, it lists mod_php4.c as a compiled-in module. I've looked at the php.install archives back to June, and not found anything that worked, although several other people had this same issue. One person got it going after recompiling php as a .so module, but I don't want to have to do this if there's another way around the problem. Can anyone help? Thanks very much, Andrew.

« previous php.install (#8462) next »