[Bug 525041] Re: Apache serves PHP files without parsing them

Delan Azabani delan.azabani at gmail.com
Sun Feb 21 08:15:27 GMT 2010


Add the following line to the start of /etc/apache2/apache2.conf

AddType application/x-httpd-php .php

Tip: if you want magic quotes to be turned off as well (deprecated
'feature'), add this line:

php_flag magic_quotes_gpc Off

-- 
Apache serves PHP files without parsing them
https://bugs.launchpad.net/bugs/525041
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in ubuntu.



More information about the Ubuntu-server-bugs mailing list