How do I Increase PHP File Upload Size in Windows VPS?

  1. Login to Windows VPS with Administrator user.
  2. Navigate to C:\Program Files (x86)\PHP\v5.X
    Locate PHP configuration file(php.ini) and open it with text editor of your choice. Search for following parameter and set your desired value. 

    ini_set('upload_max_size','10M'); // You can set your desired maximum upload size here.
  3. Save the php.ini file. You can verify the maximum upload size by uploading phpinfo page and accessing it like http://domain.com/phpinfo.php.



  • 0 Users Found This Useful

Was this answer helpful?

Related Articles

List of software installed in Windows VPS with Full configuration

Following is list of softwares which are available on your VPS when you buy a Windows VPS with...

How to install Node.Js on Windows Server?

Following steps will be helpful to install Node.Js on your windows server. Go to...

Fix :: Error 126 while starting remote desktop service, the specified module could not be found

Problem Statement Could not connect to Windows VPS Error Message Remote Desktop can't connect...

How to set password policy in Windows Server 2008?

When we try to set or to change the password in Windows Server 2008 Operating System, we may face...

How do I upgrade RAM of my Windows VPS?

Whether you have a blog with increasing traffic, a growing business, or a website running complex...