• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

Issue php fastcgi is not working = 500 (fpm works)

Hotte

New Pleskian
Hi,

If I switch from php-fpm(7.2.14) to php-fastCGi i get ERROR 500.

The Log shows me mod_fcgid: stderr: PHP Fatal error: Uncaught RuntimeException: Unable to write in the Proxy directory (/var/www/vhosts/domain.com/httpdocs/var/cache/production_201812/proxies)

First I thought it's a permission thing, but fpm works and vhost root is usr psasrv, Folder&Files are usr psacln

Has anyone a hint for me?

Tahnks you

Debian9.7 Plesk17.8.11 Update #37 PHP7.2.14 (Same modules active)
 
I am not aware that in Plesk there is such a thing like a "proxy directory". This sounds more like an application error. I think this was a shop system where this error occurs.

Make sure that the path domain.com/httpdocs/var/cache/production_201812/proxies exists and that is is writeable for <web user> : psacln, for example by applying:

Code:
# chmod 0755 /var/www/vhosts/domain.com/httpdocs/var
# chmod 0755 /var/www/vhosts/domain.com/httpdocs/var/cache
# chmod 0755 /var/www/vhosts/domain.com/httpdocs/var/cache/production_201812
# chmod 0755 /var/www/vhosts/domain.com/httpdocs/var/cache/production_201812/proxies
# chown -R <web user>:psacln /var/www/vhosts/domain.com/httpdocs/var

(<web user> = the web hosting (ftp) user name of the Plesk subscription account)
 
Thank you @Peter!

The Proxy directory is setup by symfony i think.

And if i dive that deep, the files are realy only 744 / but the cache is created by the system-user (webusr) as always and php-fpm works without a thing - so why is php-fpm working?

I'll tryout generating the cache with fastcgi at night!
 
Back
Top