ok I got it - thanks Joe
here is what I see in the
“look at line 27 of /etc/httpd/conf.d/php.conf”
#
# The following lines prevent .user.ini files from being viewed by Web clients.
#
#<Files ".user.ini">
# <IfModule mod_authz_core.c>
# Require all denied
# </IfModule>
# <IfModule !mod_authz_core.c>
# Order allow,deny
# Deny from all
# Satisfy All
# </IfModule>
#</Files>
#
#
# Allow php to handle Multiviews
#
AddType text/html .php
#
#
# Add index.php to the list of files that will be served as directory
# indexes.
#
DirectoryIndex index.php
#
#mod_php options
<IfModule mod_php5.c>
#
# Cause the PHP interpreter to handle files with a .php extension.
#
<FilesMatch \.php$>
# SetHandler application/x-httpd-php
</FilesMatch>
#
# Uncomment the following lines to allow PHP to pretty-print .phps
# files as PHP source code:
#
<FilesMatch \.phps$>
#SetHandler application/x-httpd-php-source
</FilesMatch>
#
#
# Apache specific PHP configuration options
# those can be override in each configured vhost
#
# php_value session.save_handler "files"
# php_value session.save_path "/var/lib/php/session"
# php_value soap.wsdl_cache_dir "/var/lib/php/wsdlcache"
#</IfModule>
In the above - I Think LINE 27 is as below
IfModule mod_php5.c
I suspect this means you’ve installed mod_php. That would be a mistake.
Show me the output of this command:
rpm -qa|grep php
To get your sites back online, edit that php.conf file and comment out (put a # as the first character) every line that isn’t already commented out. You only need the contents of that file if mod_php is installed, and mod_php should not be installed. If it is installed, things will break again in the future, but just commenting out those lines and restarting httpd will get your sites online again, most likely.