[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Potato to Woody, and PHP doesn't work



Yesterday, I read that 3.0 had been released, so I used "apt-get update" and
"apt-get dist-upgrade".  Everything seemed to go smoothly.

I allowed the installer to change my apache configuration files, and once it
had finished installing I checked that my virtualhost settings etc. were still
correct, and uncommented the php4 LoadModule line.

However, whenever I try and access a PHP script on the server, my web browser
asks if I want to download a file of type "application/x-httpd-php", and when I
download it, the PHP code is still in the file unexecuted.

As far as I can tell my configuration is correct:

# cd /etc/apache-ssl
# grep php *.conf mime.types
httpd.conf:LoadModule php4_module /usr/lib/apache/1.3/libphp4.so
mime.types:application/x-httpd-php                              phtml pht php
mime.types:application/x-httpd-php-source                       phps
mime.types:application/x-httpd-php3                     php3
mime.types:application/x-httpd-php3-preprocessed                php3p
mime.types:application/x-httpd-php4                     php4

Does anyone know what happened and/or how I can fix this?

Julian


-- 
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: