How to FIND and EDIT PHP.ini file using SSH.
This is a easy way to find PHP.ini to make changes, so WordPress, Drupal or other programs/CMS can run smoothly. This is also an easy way to find you PHP.ini on Godaddy servers. You need to have access to these files, and SSH.
To quickly find the file type:
php -i | grep ‘Configuration File’
To edit the click type:
You can also use these commands to find/edit other file on Unix/Linux based operating system.