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 an error which occurs while configuring MySQL service in WebsitePanel?

This article is about resolving an error occurring while configuring MySQL service in Website...

FTP Error: 530 User cannot log in, home directory inaccessible

The File Transfer Protocol (FTP) is a standard network protocol used to transfer computer files...

Recommended open ports in Windows Firewall of your VPS

Following is the list of recommended open ports in Firewall of your VPS: Make sure that the...

How to install NopCommerce manually?

If you own Windows VPS and don’t have any control panel(SolidCP, Plesk etc) configured on it but...

How to reboot my Windows VPS from VPS Management Portal?

You can reboot your VPS from your VPS Management Portal (https://cp1.accu15.com) by following...