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.
- The php.ini file path can be different if you have changed VPS' default php configuration or installed an additional php version in VPS.
- 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.