How Do I Modify the php.ini File to Enable/ Disable Parameters in Windows VPS? Print

  • 0

In the default VPS configuration, you will find the php.ini file at the following path – 

C:\Program Files (x86)\PHP\v5.X

You can edit this file with the help of an editor such as Notepad++ and disable/ enable parameters or set values for them.


  1. The php.ini file path can be different if you have changed VPS' default php configuration or installed an additional php version in VPS.
  2. If changes made in the default php.ini do not reflect, you need to upload the phpinfo.php file to any of your domains to locate the loaded path of php.ini.
    Once you locate the loaded configuration, you can edit it as needed.


Was this answer helpful?

« Back