Re: php.ini not read?

From: Date: Wed, 11 Feb 2009 22:17:43 +0000
Subject: Re: php.ini not read?
References: 1 2 3  Groups: php.install 
Request: Send a blank email to php-install+get-19605@lists.php.net to get a copy of this message
If you're on a box with sufficient dev tools, strace can help. strace php -v Will yeild a lot of output, including: open("/usr/local/bin/php-cli.ini", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/local/lib/php-cli.ini", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/local/bin/php.ini", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/local/lib/php.ini", O_RDONLY) = 3 to tell you where it is eventually looking for the file. In my case, as we can see on the last line, it found it in "/usr/local/lib/php.ini" paul

« previous php.install (#19605) next »