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 change time zone in Window Server 2008?

Following is the article to change the timezone on Window Server 2008 Login to your server and...

Can I downgrade my Classic Windows VPS plan?

No, we do not allow Windows VPS downgrade due to the limitation of MS Hyper-V virtualization...

How to configure static Compression Ignore Hit Frequency in Windows Server 2012 R2/Window Server 2016?

Following is the article to ignore static Compression Ignore Hit Frequency in IIS10. Click on...

PHP is not working on my domain name. How should I resolve this problem?

We've frequently observed that application extensions path is setup incorrect in IIS property of...

Fix: All EXE Files By Default Open With Notepad or Other Application

Problem:Due to some misconfiguration or change in the setting of “open with” program, Windows...

  • 0 Users Found This Useful

Was this answer helpful?