Where is my php.ini file?

walker.king89

Member
Registered
Joined
Jun 19, 2014
Messages
26
Points
3
The php.ini file is the file where all the PHP configuration is. If you have a virtual server or dedicated server you can access it and modify it from your ssh terminal.

The easiest way to locate this file is through a simple page with the following code.

Code:
<?php phpinfo(); ?>
php_ini_file.png

In the box marked in the image above you will see the path where the PHP file is. In order to be able to edit it, you can use any text editing program in your terminal, such as nano, vim, pico, etc.
 
Recommended Threads
Replies
0
Views
1,441
Replies
6
Views
2,569
Replies
0
Views
1,545
Replies
8
Views
4,581
Similar Threads

Latest Hosting OffersNew Reviews

Sponsors

Tag Cloud

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.

Top