• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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