How do I modify php.ini file to enable/disable parameters in Windows VPS?

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

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

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

Notes:

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

Related Articles

How do I verify my Windows VPS resources from Remote Desktop?

Once you receive Welcome Email OR VPS Login details, the first thing you should do is verify the...

How do I connect to Windows VPS via RDP with non standard port?

By default Microsoft Windows OS comes with Remote desktop services on default port 3389. Since it...

How Many RDP connections can be made in my Windows VPS SIMULTANEOUSLY?

By default Windows allows 2 simultaneous RDP connections to your VPS. If you need more than 2...

How to install Windows Updates / Patches on Windows 2008 and Windows 2008 R2 OS?

You can follow these steps to install the latest windows updates and patches on Windows 2008 or...

How to Transfer and Restore Files From Local Computer to Windows VPS?

This article will assist you to transfer and restore your websites, MS SQL, MySQL databases from...

  • 0 Users Found This Useful

Was this answer helpful?