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 install FTP service in Windows Server 2003?

This article will guide you on how to install FTP service in Windows Server 2003: Click on...

How to install Node.Js on Windows Server?

Following steps will be helpful to install Node.Js on your windows server. Go to...

Upgrade of Windows Server 2003 Standard to Windows Server 2008/2012 OS in the VPS

Windows Server 2003 OS is now out of the market and Microsoft will not release any new updates or...

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