M
muddrake
Guest
Just upgraded (via yum, gods what a mess) to 7.5.4-fc2.build75050824.12 and I'm having an odd problem with PHP.
If i surf to one of my virtual hosts with a default url, ie: http://www.muddrake.com the page fails to load. firefox wants to save the php file.
However, if I surf to http://www.muddrake.com/index.php, the page loads fine.
My /etc/httpd/conf.d/php.conf file contains the following:
#
# PHP is an HTML-embedded scripting language which attempts to make it
# easy for developers to write dynamically generated webpages.
#
LoadModule php5_module modules/libphp5.so
#
# Cause the PHP interpreter to handle files with a .php extension.
#
AddHandler php5-script .php
AddType text/html .php
#
# Add index.php to the list of files that will be served as directory
# indexes.
#
DirectoryIndex index.php index.html index.htm
#
# Uncomment the following line to allow PHP to pretty-print .phps
# files as PHP source code:
#
#AddType application/x-httpd-php-source .phps
If i surf to one of my virtual hosts with a default url, ie: http://www.muddrake.com the page fails to load. firefox wants to save the php file.
However, if I surf to http://www.muddrake.com/index.php, the page loads fine.
My /etc/httpd/conf.d/php.conf file contains the following:
#
# PHP is an HTML-embedded scripting language which attempts to make it
# easy for developers to write dynamically generated webpages.
#
LoadModule php5_module modules/libphp5.so
#
# Cause the PHP interpreter to handle files with a .php extension.
#
AddHandler php5-script .php
AddType text/html .php
#
# Add index.php to the list of files that will be served as directory
# indexes.
#
DirectoryIndex index.php index.html index.htm
#
# Uncomment the following line to allow PHP to pretty-print .phps
# files as PHP source code:
#
#AddType application/x-httpd-php-source .phps