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 install Telnet server on Windows VPS?

By default, Telnet server is not installed on your Windows VPS and when you try to run "Telnet"...

"The Page cannnot be found" error occurs while configuring phpMyAdmin in Windows Server 2003

This article will guide you on how to configure PHPMyAdmin in Windows Server 2003 Operating...

How to set FTP user permission for Web Deploy?

Following are the steps to provide FTP User permission for the web deploy. Login into IIS....

How do I access my Windows VPS data using FTP and transfer the files between local system and VPS?

Prerequisites: Your Windows VPS must have an FTP server installed. If it is not installed then...

How to download and install dotnet core 2.0 Runtime on the Windows?

Dotnet Core is now available with the Windows. Following are the steps to install runtime Dotnet...

  • 0 Users Found This Useful

Was this answer helpful?