Re: [PHP-INSTALL] php.ini not read?

[email protected] (Paul Reinheimer)
Newsgroups php.install
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.