• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • 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.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

How can i set env var for FCGI?

MiguelG

Basic Pleskian
Hi,

using php with fcgi, plesk uses a binary wrapper to load the php threads, so i can't edit the wrapper file (or being more exact, i don't know how to do this) so, how can i set an environment variable, for example PHP_FCGI_CHILDREN with plesk?

NOTE: I know that i can edit
/etc/httpd/conf.d/fcgid.conf and set FcgidMaxProcesses, but this is not what i need.

thanks in advance,
 
Well, after doing some research i've found this thread http://forum.parallels.com/showthread.php?265023-Enable-FastCGI-in-Plesk-11-Centos-6-3 my problem seems to be the same; opcode cache and mod_fcgid so i need to switch from fcgid to fastcgi, however it seems that Plesk 11.5 doesn't provide an easy way to do this.

so my question now is how can i change from fcgid to mod_fastcgi to allow shared memory to be used by opcode cache. I'm on Centos 5.9.

also i want to suggest to the Plesk team to add an option in future releases to allow this change easily
 
Back
Top