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 check my Windows VPS from my iPod Touch or iPhone?

Following are the steps to check your VPS from iPod Touch or iPhone: Download VNC application...

How to Add DNS Server Role in Windows 2008 Server?

The DNS Server Role installation is essential when you wish to use the DNS service of your own...

How to Transfer Files to Windows VPS Using Remote Desktop Connection?

You can map your local drives on your Windows VPS and easily transfer the web contents from your...

What are the benefits of running SENuke X on Windows VPS?

Benefits of running SENuke X on Windows VPS: It runs 24*7, SEnuke X includes scheduling...

Recommended system configurations for Windows Server 2012/2016 OS

Windows Server 2012 offers a compelling upgrade from previous versions of Windows Server. As...