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 resolve “mcrypt extension is missing. Please check your PHP configuration” error in phpMyAdmin?

This article will guide you on how to resolve the “mcrypt extension is missing. Please check your...

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

How to Set Custom php.ini file on my Web Hosting Service?

Sometimes you are required to set custom php environmental variables or update php settings for...

How to use multiple monitors with Remote Desktop Connection for Windows?

If you are using multiple monitors and often connect to remote servers via Remote Desktop, you...

Can I Monitor and Login To User's Account As SmarterMail Administrator?

Yes, you can monitor and login to user's mailboxes as SmarterMail administrator using Impersonate...