• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

PHP not working on one webspace after SSL cert update!

Richard18

Basic Pleskian
This problem has completely thrown me! Got a server running Plesk 11 hosting a WordPress install.

Went to the Plesk admin site today to update an SSL certificate that was due to expire next week, added it, went to the domain in the web space I wanted to apply it to chose it from the drop down and submitted.

Visited the site and all I get is a file dialogue box in the browser asking me to save the index.php file.

PHP is working for other webspaces on the server, it's just this one, there's nothing obvious that I can see has been disabled.

There's no way for me to disable PHP on this install as our host has disabled the "PHP Support" option in the 'Web Scripting and Statistics' part of Hosting settings. No other options have been changed!

I've restarted the server, apache, nginx, etc but nothing!

No errors in logs, where do I go?
 
I've looked at the httpd.conf file that the vhost is now using and the whole

<IfModule mod_fcgid.c>
<Files ~ (\.php)>
SetHandler fcgid-script
FCGIWrapper /var/www/cgi-bin/cgi_wrapper/cgi_wrapper .php
Options +ExecCGI
allow from all
</Files>
</IfModule>

section is missing from it, I have no idea why but looking back at previous versions in the /conf folder it's definitely in there, just today it got removed.

Can I revert to an older httpd.conf file somehow? Or how do I edit it manually, there's no vhost.conf file in that folder like it says there should be for manually making changes.
 
Can I revert to an older httpd.conf file somehow? Or how do I edit it manually, there's no vhost.conf file in that folder like it says there should be for manually making changes.

Try /usr/local/psa/admin/bin/httpdmng --reconfigure-domain <domain_name>
and check the result. Domain config should be reconfigured according to subscription hosting settings.

Please, provide us following information of environment you are using:
OS
OS architecture
Panel version
build number
Last MU number
 
Back
Top