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.

  • 0 Users Found This Useful

Was this answer helpful?

Related Articles

How to disable shutdown option from start menu in Windows 2003/2008 server?

Sometimes, Windows VPS/Dedicated server clients shutdown their system by mistake and thenafter...

How to Reset Windows VPS Management Portal Password From Client Area?

Sometimes, you may need to reset the password of Windows VPS Management portal. By following...

How to Remove a Remote Desktop User from Windows VPS?

This article will assist you to remove a Remote Desktop user from Windows VPS. Login to your...

How to allow multiple RDP sessions for the single user in Windows?

Sometimes you want to access multiple concurrent Remote Desktop sessions for the same RDP user....

Upgrade of Windows Server 2003 Standard to Windows Server 2008/2012 OS in the VPS

Windows Server 2003 OS is now out of the market and Microsoft will not release any new updates or...