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

Related Articles

How To Synchronize Windows VPS Clock With Internet Time Server?

Sometimes your Windows VPS may get drift away from the correct time by as many as a few seconds...

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 Install & Configure Shoutcast Server on Windows VPS?

SHOUTcast is free popular software for streaming media over the internet. Developed by Nullsoft...

Can I Setup Each Website With Dedicated Application Pool?

Yes, you can configure WebsitePanel to assign a dedicated application pool to each website while...

Can I open APN port 2195 on my VPS?

You will get full administrative control of your VPS, therefore you can surely open/close any...

  • 0 Users Found This Useful

Was this answer helpful?