Elzo Valugi Elzo Valugi - 1 year ago 132
PHP Question

where can I find the php.ini for php-cli

It appears that the php command line is using a different php.ini from the main php interpreter. I am using Ubuntu 10.4. My problem is that in the main php.ini I have included an extra path for an external library, but in the cli version this is not present, and so I have a path inclusion error.


Answer Source

Just ask PHP:

$ php -i |grep php\.ini

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download