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:
[email protected] [~]# php -i | grep php.ini
Configuration File (php.ini) Path => /usr/local/lib
Loaded Configuration File => /usr/local/lib/php.ini