• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

PHP5 upgrade problem

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
 
Back
Top