By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
457,913 Members | 1,464 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 457,913 IT Pros & Developers. It's quick & easy.

Problem with FastCGI PHP on Sun ONE Web Server 6

P: n/a
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
// Henri Vilminko

Jul 17 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.