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 to Schedule a Task in Windows Server 2008 VPS?

Following article will guide you to schedule a task in Windows Server 2008 R2. Go to Start →...

Recommended system configurations for Windows Server 2019/2016/2012 OS

Here, are the system requirements for the Windows Server OS 2019/2016 and 2012. Windows...

How do I add rDNS record for my VPS?

Please note that you cannot set rDNS [Reverse DNS] or PTR record on your VPS IP address at your...

Recommended open ports in Windows Firewall of your VPS

Following is the list of recommended open ports in Firewall of your VPS: Make sure that the...

How to Setup Remote Desktop Service License in Windows Server in 2012 and 2016 OS?

You can connect the Windows server using RDP with 2 users at the same time. We required Remote...

  • 0 Users Found This Useful

Was this answer helpful?