I installed the Zend PHP enabler for Sun ONE Web Server which is
basically a wrapper to run PHP in fastcgi mode. The interpreter runs
fine but there's one nasty problem: PHP doesn't use the PHPRC
environment variable I set in the config to assign each virtual server a
different php.ini file. phpinfo() shows PHPRC correctly among the
environment vars but for some reason PHP uses the default compiled-in
ini path anyway. Any ideas what might be wrong here?
Here's the configuration:
In obj.conf, the default object:
Service type="magnus-internal/fastcgi-php" fn="FCGIRequestHandler"
BindPath="localhost:8082" AppPath="/usr/local/bin/php-4.3.4-fastcgi"
StartServers="1" PHP_FCGI_CHILDREN="5" PHPRC="/usr/local/etc"
<Object name=fastcgi>
# File types for fastcgi-php bound in mime.types
ObjectType fn=force-type type=magnus-internal/fastcgi-php
Service fn=FCGIRequestHandler
</Object>
--
// Henri Vilminko
// http://www.iki.fi/omegas/