Attempting to load 2 PHP modules in the same httpd instance.
modified mod_php5.c, php_apache.h, php.sym and sapi_apache2.c
to reflect a unique module name for the second compiled .so, as well as
change the PHP_MAGIC_TYPE to something unique.
basically changing php5_module to php5UNIQUE_module
and application/x-httpd-php to application/x-UNIQUE-php
There is trouble at apache startup with both enabled, but not every time.
Is it conceivable to have a user-defined module name(space) for loading
multiple php shared objects?
The use:
- Load mulitple PHP modules at startup.
- Inside virtual hosts, assign whichever php module is appropriate
- have v-hosts that point to the same files, but use different versions
of php\ - requests can look like this: php5-2-10.mysite.com php5-3-0.mysite.com
php6-0.mysite.com
Chris Trahey
Web Applications Developer
Database Administrator
CSISD [Technology]
I suggest you set up multiple instances of FastCGI instead and let
your web server choose the right CGI gateway per request.
Attempting to load 2 PHP modules in the same httpd instance.
modified mod_php5.c, php_apache.h, php.sym and sapi_apache2.c
to reflect a unique module name for the second compiled .so, as well as
change the PHP_MAGIC_TYPE to something unique.
basically changing php5_module to php5UNIQUE_module
and application/x-httpd-php to application/x-UNIQUE-phpThere is trouble at apache startup with both enabled, but not every time.
Is it conceivable to have a user-defined module name(space) for loading
multiple php shared objects?The use:
- Load mulitple PHP modules at startup.
- Inside virtual hosts, assign whichever php module is appropriate
- have v-hosts that point to the same files, but use different versions
of php\- requests can look like this: php5-2-10.mysite.com php5-3-0.mysite.com
php6-0.mysite.comChris Trahey
Web Applications Developer
Database Administrator
CSISD [Technology]
--
Tjerk