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

2010-02-20 Thread Caleb Langeslag
** Attachment added: "Dependencies.txt" http://launchpadlibrarian.net/39456103/Dependencies.txt ** Attachment added: "PHPConf.etc.php5.apache2.php.ini.txt" http://launchpadlibrarian.net/39456104/PHPConf.etc.php5.apache2.php.ini.txt ** Attachment added: "PHPInstalledModules.txt" http://l

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

2010-02-21 Thread Andreas Olsson
Does it help if you restart apache2? $ sudo /etc/init.d/apache2 restart When I try your recipe I do receive unparsed php code until I restart apach Wondering if bug #403599 is still haunting us, or if this is a new issue. -- Apache serves PHP files without parsing them https://bugs.launchpad

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

2010-02-21 Thread Delan Azabani
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.launchp

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

2010-02-21 Thread Andreas Olsson
@Delan: No, that is not the way the Debian/Ubuntu apache2 configuration is normally handled. The configuration needed is available in /etc/apache2/mods-{available,enabled}/php5.conf, which in turn is included from /etc/apache2/apache2.conf. -- Apache serves PHP files without parsing them https://

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

2010-02-21 Thread Delan Azabani
Then I guess I'm actually affected too. Ever since I can remember, PHP files weren't parsed by default and I had to add that directive to apache2.conf. -- Apache serves PHP files without parsing them https://bugs.launchpad.net/bugs/525041 You received this bug notification because you are a membe

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

2010-02-21 Thread Caleb Langeslag
Seems functional now; may have just been as simple as a reboot... However I believe I tried restarting the Apache daemon with no changes. Yet in the Apache configuration there was a listing for associating php, php3, and phtml with the PHP interpreter. At least it seems to be functioning now (didn'

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

2010-02-22 Thread Chuck Short
This bug report is being closed due to your last comment regarding this being fixed with an update. For future reference you can manage the status of your own bugs by clicking on the current status in the yellow line and then choosing a new status in the revealed drop down box. You can learn more a