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 PHP 7 on windows server Manually?

It is required to install the PHP on your windows web server to run the PHP Website. Before we...

If I Create a New RDP User, Both the RDP Users Will Have Different Desktop Screens?

Yes, both the Remote Desktop users will have different desktop screen. Windows creates a user...

How to Reset Windows VPS Management Portal Password From Client Area?

Sometimes, you may need to reset the password of Windows VPS Management portal. By following...

What are the benefits of installing windows updates?

Windows Update, a service offered by Microsoft, provides updates for Windows components. Let's...

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.

  • 0 Users Found This Useful

Was this answer helpful?