• 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.

FPM handler broken with paths containing spaces

ChrisRoway

New Pleskian
When serving PHP via the fpm handler, it will throw a (404) "file not found" error when the file requested (or it's directoy path) contains any spaces.
Is there an easy workaround, except using the FastCGI handler? (or convincing the customer to not use spaces in file or directory names)

I know that it works when using FPM via unix sockets instead of tcp sockets in a construct like this:

Code:
<FilesMatch \.php(/.*)?$>
  SetHandler "proxy:unix:/var/run/php5-fpm.sock|fcgi://www-data/"
</FilesMatch>

But unfortunately this:

- only works with Apache > 2.4.10 (and we're using Ubuntu 14.04 with Apache 2.4.7)
- would require manual changes to the default virtualHost templates, something we prefer not to touch

------
- We're using Plesk version 12.5.30 Update #21
- Copied this post over from forum.odin.com
 
Back
Top