• Debian 11 has reached its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.81 is the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

Installing Plesk's wordpress breaks all cgi scripts

HostaHost

Silver Pleskian
We just had a customer install Wordpress on their site, via the Plesk PowerPack in 10.4.4, php was set to FastCGI mode. For whatever reason, Plesk decided to incorrectly ignore the site's setting of fastcgi mode, but it also has decided to remove the ScriptAlias directive from the main site config file, breaking all cgi scripts for the site. So here's what it did:

1) Installed wordpress
2) Created a file /var/www/vhosts/DOMAIN/conf/siteapp.d/main.conf containing:

Code:
<Directory /var/www/vhosts/DOMAIN/httpdocs/ >

<IfModule mod_php4.c>
  php_admin_flag engine on
  AddHandler php-script .php 
</IfModule>

<IfModule mod_php5.c>
  php_admin_flag engine on
  AddHandler php5-script .php 
</IfModule>

</Directory>

That of course should not be there since the site is set to fastcgi for php.

3) Altered the /var/www/vhosts/DOMAIN/conf/13462200640.99007300_httpd_ip_default.include file to remove ANY mention of ScriptAlias, it should still have:

ScriptAlias "/cgi-bin/" "/var/www/vhosts/DOMAIN/cgi-bin/"

I could not get it to come back even by turning cgi support off and on, or setting it to httpdocs instead of document root, nothing will bring it back. I had to add it back in manually using a vhost.conf file.
 
Thanks, I will inform Plesk devs.

Meanwhile, you can try to disable mod_php in Apache modules: Home > Tools & Settings > Apache Modules

However, please take into account that this can affect Plesk webmail.
 
Back
Top