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
2
Views
2,670
Replies
0
Views
666
Replies
1
Views
2,248
Replies
10
Views
2,495
fwh
Replies
25
Views
10,638
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