Finding your php.ini

o find your php.ini file all you need to do is enter the following command into your SSH Terminal.

php -i | grep php.ini

It will show you the directory copy and paste the directory, mainly the url (/usr/local/lib/) as bellow:

root@hostname [~]# php -i | grep php.ini

Configuration File (php.ini) Path => /usr/local/lib

Loaded Configuration File => /usr/local/lib/php.ini

0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

Your email address will not be published. Required fields are marked *