If i compilied php with the following options:
./configure --with-apxs2=/usr/local/apache/bin/apxs --prefix=/usr/local/php --with-mysql=/usr/local/mysql
I always compile PHP from source, but I also always specify --with-config-file-path=/etc as an option to configure.
If you can get it running, write a script that outputs phpinfo(). It will tell you where it expects the file to be. Want the best answers? Ask the best questions:
According to the output of "./configure --help", the default path for the config file is "PREFIX/lib", which I guess in your case would be "/usr/local/php/lib/php.ini" Want the best answers? Ask the best questions:
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.