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 force HTTPS from web.config file?

The Microsoft URL Rewrite Module 2.0 for IIS 7 and above enables IIS administrators to create...

How do I login to Windows VPS Management Portal?

This article will guide you on how to login to VPS Management Portal. You can obtain login...

Remotely Connect Windows VPS using an Android Device

This article explains the procedure to get the remote access to your Windows VPS over Android...

How to disable shutdown option from start menu in Windows 2003/2008 server?

Sometimes, Windows VPS/Dedicated server clients shutdown their system by mistake and thenafter...

How to add a new DNS zone and manage DNS Records For a Domain Hosted on Windows VPS?

This tutorial will assist you to add a new DNS Zone, add/edit/delete various DNS records in DNS...

  • 0 Users Found This Useful

Was this answer helpful?