I can see each sub-server has its own fcgi wrapper :
FCGIWrapper /home/domain/domains/subdomain.domain.com/fcgi-bin/php5.fcgi .php FCGIWrapper /home/domain/domains/subdomain.domain.com/fcgi-bin/php5.fcgi .php5
This is while the execution user are the same as the parent server. So why virtualmin not uses the FCGIWrapper of the parent server ?
Status:
Active
Comments
Submitted by andreychek on Mon, 09/12/2011 - 23:01 Comment #1
Yup! That allows a user to have multiple websites that use different PHP Execution modes.
By default, they'll all use FCGID, but the user can change that if they like.
But it's resource killer for servers with lots of sub-servers. Will use a lot of memory.
http://boomshadow.net/tech/php-handlers/
See Comparison Graph, FCGID is not memory friendly.
Submitted by JamieCameron on Wed, 09/14/2011 - 15:25 Comment #3
Sharing wrappers isn't going to reduce resource requirements though .. only switching to another PHP execution mode will. Virtualmin lets you select mod_php , CGI and fcgid on a per-virtual-server basis.
Submitted by andreychek on Wed, 09/14/2011 - 15:30 Comment #4
If you go into System Settings -> Server Templates -> Default -> Apache Website, you can change the default PHP Execution Mode to another mode, such as "CGI". After that, any new Virtual Servers will be created using the PHP Execution Mode you select there.