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

How do I access my Windows VPS data using FTP and transfer the files between local system and VPS?

Prerequisites: Your Windows VPS must have an FTP server installed. If it is not installed then...

Can I purchase additional RAM, Disk space and Bandwidth for VPS?

Yes, you can purchase additional RAM, DiskSpace, Bandwidth and vCPU resource during the VPS...

How do I login to Windows VPS Management Portal?

This article will guide you on how to login to VPS Management Portal. You can obtain login...

How to Upgrade PHP Version in Windows VPS?

More often you are required to upgrade the php version for your web applications in Windows VPS....

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