PHP 4.0 Bug #9448: It does not works / -c<path> Look for php.ini file in this directory

From: Date: Sun, 25 Feb 2001 22:13:10 +0000
Subject: PHP 4.0 Bug #9448: It does not works / -c<path> Look for php.ini file in this directory
Groups: php.dev 
Request: Send a blank email to php-dev+get-47499@lists.php.net to get a copy of this message
From: marcello.dipietro@chello.be Operating system: Linux PHP version: 4.0.4pl1 PHP Bug Type: *Install and Config Bug description: It does not works / -c&lt;path&gt; Look for php.ini file in this directory I use php with apache, in the same time a crontab generate big html page from a .php source file. #/usr/bin/php -q <? ... ?> , but if I use -c/usr/local/newphp to force the read of another php.ini file just for the cgi and different from the one used with php/apache it gives an error. php -? Usage: php [-q] [-h] [-s] [-v] [-i] [-f <file>] | {<file> [args...]} -q Quiet-mode. Suppress HTTP Header output. -s Display colour syntax highlighted source. -f<file> Parse <file>. Implies `-q' -v Version number -c<path> Look for php.ini file in this directory -a Run interactively -d foo[=bar] Define INI entry foo with value 'bar' -e Generate extended information for debugger/profiler -z<file> Load Zend extension <file>. -i PHP information -h This help -c is in the list , but not in the Usage , it should be nice to have diferent php.ini depending on scripts, excpecialy because zend optimizer works for the php/apache and not for cgi php (logically). -- Edit Bug report at: http://bugs.php.net/?id=9448&edit=1

« previous php.dev (#47499) next »