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 reset MySQL root password without existing password in Windows VPS?

It's pretty simple to reset the MySQL user account  password using SET PASSWORD syntax when you...

How to Register ASP.NET 4.0 with Application Pool in IIS 7?

It is required to register ASP.NET 4.0 with your application pool inorder to run your ASP website...

How much RAM do I need for the smooth execution of my Windows VPS services?

This video will help you to choose the correct RAM resource to smoothly execute your services.

Remote Desktop port change for Windows VPS

Dear Valued Customers, By default, Microsoft Windows OS comes with Remote desktop services on...

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...

  • 0 Users Found This Useful

Was this answer helpful?