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

List of software installed in Windows VPS with Full configuration

Following is list of softwares which are available on your VPS when you buy a Windows VPS with...

How to Enable Ping/ICMP Echo Request in Windows Server?

PING or ICMP Echo Request is the most common network troubleshooting tool to determine whether...

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 do I Increase PHP File Upload Size in Windows VPS?

Login to Windows VPS with Administrator user. Navigate to C:\Program Files (x86)\PHP\v5.X...

How to Setup Web Deploy in Windows Server?

To deploy your ASP.NET and PHP applications to an IIS web server, web deploy is the best tool...