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 enable/disable Internet Explorer Enhanced Security Configuration (IE ESC) in Windows Server 2008 & 2012?

Enhanced Security Configuration (ESC) mode eliminates the chances of an attack on the server by...

How to Allow Ping/ICMP Echo Request in Windows Firewall?

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

How to renew SSL certificate in Windows VPS?

This article will guide you on how to reinstall renewed SSL certificate in your Windows VPS...

How to Set Custom php.ini file on my Web Hosting Service?

Sometimes you are required to set custom php environmental variables or update php settings for...

How to set password policy in Windows Server 2008?

When we try to set or to change the password in Windows Server 2008 Operating System, we may face...

  • 0 Users Found This Useful

Was this answer helpful?