Custom php.ini file not working
Jerrin
slackmails at gmail.com
Fri Jan 28 09:51:51 UTC 2011
Hi,
i have a freebsd 7.3 server running apache2. php is configured to work with
the apache fcgid module.
i need to have a custom php.ini file for some websites,the fcgidwrapper
script that i use is like this
#!/bin/sh
PHPRC=/usr/home/somefolder
export PHPRC
PHP_FCGI_CHILDREN=0
export PHP_FCGI_CHILDREN
export PHP_FCGI_MAX_REQUESTS=40
#export PHP_FCGI_MAX_REQUESTS
exec /usr/local/bin/php-cgi
a custom php.ini file is here /home/somefolder/php.ini
the phpinfo page shows the Loaded Configuration File as
/usr/home/somefolder/php.ini
Configuration File (php.ini) Path /usr/local/etc
Loaded Configuration File /usr/home/somefolder/php.ini
Scan this dir for additional .ini files /usr/local/etc/php
but the changes made in the /usr/home/somefolder/php.ini doesn't shows up
on the phpinfo page.
changes made to /usr/local/etc/php.ini also won't show up. only the changes
made to the php.ini
file in /usr/local/etc/php/php.ini is working.
Thank you
Rihaz
More information about the freebsd-questions
mailing list