• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be 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.

Wrong PHP Handler after Upgrade

llaehn

New Pleskian
Hi,

i have a problem. after upgrade my Server (different Servers) the php-fpm dont serve the php files (12.5.30 Update #27, zuletzt aktualisiert: 29. März 2016 01:18:29).
the browser would download the php files as text.

i have nothing changed in my config.
i compare old config from plesk with the new one and found this

OLD:
Code:
  <IfModule mod_proxy_fcgi.c>

  ProxyPassMatch ^/(.*\.php(/.*)?)$ unix:///var/www/vhosts/system/myservername/php-fpm.sock|fcgi://127.0.0.1:9000/var/www/vhosts/myservername/httpdocs

  </IfModule>

NEW:
Code:
                <IfModule mod_proxy_fcgi.c>
                        <Files ~ (\.php$)>
                                SetHandler proxy:unix:///var/www/vhosts/system/myservername/php-fpm.sock|fcgi://127.0.0.1:9000
                        </Files>
                </IfModule>

why this changed?

br
lars
 
Last edited:
Hi,

thanks for reply.
i'am a little bit confused because the proxymatch directive works and the sethandler don't execute the php.

the kb is right. the psa-phpfpm-configurator and the libapache2-mod-proxy-psa are not upgraded. but the plesk reported no errors after the upgrade.
i remove the packages and use the autoinstaller.

after that i execute /usr/local/psa/admin/bin/httpdmng --reconfigure-all to rewrite the conf files.

now it works.

br
lars
 
No problem, glad it helped.

Yeah, depending on how the was upgrade is run, you may not get an error. For instance if run from the update link on the Plesk panels home page.

Regards

Lloyd
 
Back
Top