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 MetaTrader in Windows VPS?

Following article will assist you to install MetaTrader Trading Software in Windows VPS. We...

How to Add IIS Role in Windows 2008 Server?

Internet Information Services (IIS) is a web server developed by the Microsoft for hosting web...

How to Add DNS Server Role in Windows 2008 Server?

The DNS Server Role installation is essential when you wish to use the DNS service of your own...

How to configure the Windows Firewall to allow only specific IP Address to connect your ports?

Following steps will guide you to open the ports for a specific IP address. Login to the...

Remote Desktop port change for Windows VPS

Dear Valued Customers, By default, Microsoft Windows OS comes with Remote desktop services on...