FCGI Wrapper for sub servers

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

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.

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.

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.