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.

  • 0 Users Found This Useful

Was this answer helpful?

Related Articles

how to place forex vps order?

This article will help you to place a Forex VPS order from our website. First select your...

How to Setup Remote Desktop Service License in Windows Server in 2012 and 2016 OS?

You can connect the Windows server using RDP with 2 users at the same time. We required Remote...

Do You Have A SmarterMail Demo Account?

SmarterMail provides flexible email server for individuals, small businesses, and...

How to Remove a Remote Desktop User from Windows VPS?

This article will assist you to remove a Remote Desktop user from Windows VPS. Login to your...

Remote Desktop port change for Windows VPS

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