How do I modify 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 editors such as Notepad++ and disable/enable parameters or set values for them.


  1. php.ini file path can be different if you have made changes in VPS' default php configuration or installed an additional php version in VPS.
  2. In case changes made in 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 per your need.

Was this answer helpful?

« Back