Where is my php.ini file?

walker.king89

Member
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
16
Views
3,261
Replies
1
Views
1,561
Replies
26
Views
4,620
Replies
9
Views
2,418

Latest Hosting OffersNew Reviews

Sponsors

Latest Blog ArticlesMost Viewed Threads

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