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 place windows SSD VPS order?

This is a video tutorial about selecting an appropriate configuration for your SSD Windows VPS...

How to Open Ports in Firewall on Windows Server 2008 R2?

Following article will assist you to open ports in Firewall on Windows VPS with Windows Server...

Do You Offer VPS with 8 vCPU Cores?

No, we do not provide VPS with 8 vCPU cores. We provide VPS with maximum 4 vCPU cores. This is...

Random Service Crash in Windows VPS

It’s quite often when we face problems of Random Service Crash in Windows VPS. You may come...

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...

  • 0 Users Found This Useful

Was this answer helpful?