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 Xojo Apps on the Windows VPS?

This article will assist you how to install Xojo Apps on Windows Server.Xojo is a object oriented...

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 Open Ports in Firewall on Windows Server 2008 R2?

Following article will assist you to open ports in Firewall on Windows VPS with Windows Server...

Recommended system configurations for Windows Server 2019/2016/2012 OS

Here, are the system requirements for the Windows Server OS 2019/2016 and 2012. Windows...

How to enable GD Library support for PHP in Windows server?

In order to enable GD Library support for PHP on Windows server, follow the below mentioned...