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

  • 0 Users Found This Useful

Was this answer helpful?

Related Articles

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

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 do I print to my local printers from my windows VPS?

If you are processing documents directly from your Windows VPS, and want them to be printed out...

Can I downgrade my Classic Windows VPS plan?

No, we do not allow Windows VPS downgrade due to the limitation of MS Hyper-V virtualization...

How to allow multiple RDP sessions for the single user in Windows?

Sometimes you want to access multiple concurrent Remote Desktop sessions for the same RDP user....