Hi Guys !
I'm currently testing ListSpeed (Trial version)
I run several Vhost from apache configuration (Loading Apache Config)
I use SuExec
Here is what I'm using with Apache2.2
FCGIWrapper "/opt/wrapper/php ${PHP_VERSION} ${DOMAINE_NAME}"
In any vhost , there is this line , for example with domain.com :
FCGIWrapper "/var/tmp/wrapper php53 domain.com"
This is explicitly written in the vhost file
When domain.com is reach , Fastcgi is used to call /var/tmp/wrapper and send the command line parameter 1 (php53) et 2 (domaine.com)
The wrapper file execute php-cgi or lsphp binary with a specific PHPRC variable value and/or explicitly give de php.ini file to use for this php version and this domain.
I'm trying to find a work around to do that with LietSpeed when loading configuration from apache is enable.
The solution without using the configuration from apache it to create all vhost into LiteSpeed, for each vhost create a External Application with the specific command line parameter. This is working like a charm.
But I the case I wanna use the apache configuration I have no idea how to manage that.
The only luck that I could have is passing $VH_NAME to the environment variable of the common external application used in dynamic configuration file from apache but this is not working (see my other post there: http://www.litespeedtech.com/support/forum/showthread.php?p=77057#post77057 )
If at least I can have the domain name used in the request, I'll be able to manage to know the PHP_VERSION required bye the domaine.
Thanks for you help
I'm currently testing ListSpeed (Trial version)
I run several Vhost from apache configuration (Loading Apache Config)
I use SuExec
Here is what I'm using with Apache2.2
FCGIWrapper "/opt/wrapper/php ${PHP_VERSION} ${DOMAINE_NAME}"
In any vhost , there is this line , for example with domain.com :
FCGIWrapper "/var/tmp/wrapper php53 domain.com"
This is explicitly written in the vhost file
When domain.com is reach , Fastcgi is used to call /var/tmp/wrapper and send the command line parameter 1 (php53) et 2 (domaine.com)
The wrapper file execute php-cgi or lsphp binary with a specific PHPRC variable value and/or explicitly give de php.ini file to use for this php version and this domain.
I'm trying to find a work around to do that with LietSpeed when loading configuration from apache is enable.
The solution without using the configuration from apache it to create all vhost into LiteSpeed, for each vhost create a External Application with the specific command line parameter. This is working like a charm.
But I the case I wanna use the apache configuration I have no idea how to manage that.
The only luck that I could have is passing $VH_NAME to the environment variable of the common external application used in dynamic configuration file from apache but this is not working (see my other post there: http://www.litespeedtech.com/support/forum/showthread.php?p=77057#post77057 )
If at least I can have the domain name used in the request, I'll be able to manage to know the PHP_VERSION required bye the domaine.
Thanks for you help
Last edited: