Apache Not Recognizing .php Files
Avi Greenbury
avismailinglistaccount at gmail.com
Thu Jun 5 16:13:31 UTC 2008
Matt Florido wrote:
> So I just upgraded PHP and it seems something got borked. PHP is
> running just fine on Apache, but for some reason, the following module
> doesn't seem to be recognized or processed by Apache.
>
> <IfModule mod_php5.c>
> AddType application/x-httpd-php .php .phtml .php3
> AddType application/x-httpd-php-source .phps
> </IfModule>
>
> I say this because pointing to index.php brings up a window in Firefox
> basically saying it doesn't know what to do with x-httpd-php files.
>
When you say "PHP is running just fine", what do you mean? You evidently
don't mean "Apache is serving PHP files correctly".
Is the LoadModule directive pointing to the right place?
Does php show up in /etc/mime.types
More information about the ubuntu-users
mailing list