How to Find Your php.ini Path via SSH in a Linux Server
Written by Richi González Wednesday, 29 August 2012
Whether you are just starting with server management, or you are a pro looking for more efficient ways to do things, this article is for you. I’ll teach you how to find out your php.ini’s path via SSH. Of course, for this article, you must be able to connect through a server via a terminal.
Difficulty level: Easy
1. Open up a terminal/console/konsole
2. Establish an SSH connection (you don’t need to be super user to do this)
3. Execute the following command:
php -i | grep php.ini
There you go, the path to your php.ini file will be shown. If you got any question, problems, or anything, just let me know and I’ll get back to you ASAP.
Owner of Juapo2Services.com