php.ini files ignored by php binary when running as cgi

From: Date: Fri, 09 May 2003 10:56:56 +0000
Subject: php.ini files ignored by php binary when running as cgi
Groups: php.install 
Request: Send a blank email to php-install+get-10854@lists.php.net to get a copy of this message
Hi, I installed php as cgi binray. When I use the redirect option with apache: AddHandler php-script .php Action php-script /cgi-bin/php then all custom php.ini ignored and only the default one used the /usr/local/lib/php.ini when I remove the redirection in the httpd.conf and place the #!/usr/local/bin/php in the script then local php.ini used (if found). How can I tell php when using redirection to use local php.ini if found and not the main one in /usr/local/lib/php.ini ? I have apache 1.3.27 and php 4.3.1 compiled as cgi. php configured : ./configure' '--enable-safe-mode' '--with-openssl' '--with-zlib' '--with-gdbm' '--with-mysql' '--with-unixODBC' '--with-pgsql' '--enable-memory-limit' '--with-gd' '--with-jpeg-dir=/usr/lib' '--with-zlib-dir=/usr/lib' '--with-png-dir=/usr/lib' Can anyone please help ? Thanks

« previous php.install (#10854) next »