Date: Fri, 28 Jan 2011 09:22:30 +0000 From: Jerrin <slackmails@gmail.com> To: freebsd-questions@freebsd.org Subject: Custom php.ini file not working Message-ID: <AANLkTik7emDFO=VyChmwBeaF-_0qdXoHvnVeUP4Mxt3Y@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTik7emDFO=VyChmwBeaF-_0qdXoHvnVeUP4Mxt3Y>