i cannot change ini file path?!
| From: | Jamie Burns | Date: | Fri, 17 Aug 2001 09:55:49 +0000 |
| Subject: | i cannot change ini file path?! | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-4015@lists.php.net to get a copy of this message | ||
hello all...
i am trying to change where php looks for its ini file and it will not work
for me?!
this is my configure line:
./configure '--with-config-file-path=/home/burns_j/test'
'--enable-versioning' '--with-system-regex' '--disable-debug'
'--enable-track-vars' '--without-gd' '--disable-pear'
'--with-zlib' --enable-force-cgi-redirect
but when i run a script with phpinfo() it says it is looking in
/usr/local/lib
i also tried using the command switch:
php -c /home/burns_j/test myscript.php
and that did not work even though the php arguments list says:
Usage: php [-q] [-h] [-s] [-v] [-i] [-f <file>] | {<file> [args...]}
... stuff here
-v Version number
-c<path> Look for php.ini file in this directory
-a Run interactively
... stuff here
Any ideas?
Jamie.