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.
 
Latest Threads
Replies
1
Views
61
Replies
1
Views
76
Replies
2
Views
729
Recommended Threads
Replies
6
Views
2,853
Replies
8
Views
10,827
Replies
20
Views
11,122

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