• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

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