Knowledge Base
MilesWeb / Dedicated Server FAQ

Learn to Make Changes to the Global php.ini File on the Dedicated Server

Approx. read time : 2 min

It is possible to edit the global php.ini file of your server until you have root access to your server.

At first, it is required to check the path to the active php.ini file for the PHP service. For this, just create an info.php file with the below content in it and access it via your browser:

<? phpinfo() ?>

This will display you the current configuration of your PHP service. Search for the “Loaded Configuration File” row and copy the path to the active php.ini file. Then open this file with your text editor and do the changes you want to it.

That’s it! You can now make changes to the global php.ini file of your dedicated server.

Also Read:
Modifying the PHP.INI file

Avatar
Pallavi is a Digital Marketing Executive at MilesWeb and has an experience of over 4 years in content development. She is interested in writing engaging content on business, technology, web hosting and other topics related to information technology.
Need help? We’re always here for you.