How to Find Your php.ini Path via SSH in a Linux Server


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.

Best Regards,


Owner of

Looking for quality ClipBucket Web Hosting? Look no further than Arvixe Web Hosting!

Tags: , , , , | Posted under Linux Server Admin, Linux Usability | RSS 2.0

Author Spotlight

Richi González

I started programming when I was 12. I'm a Developer and have been working with the Clip-Bucket script since it came out. I'm the Liaison between Arvixe and Clip-Bucket, so anything you need regarding Clip-Bucket or any particular computer-related subject you need, let me know so I can assist you.

Leave a Reply

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