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

Does Windows VPS Come With Pre-installed Windows OS or Do I Have to Install Windows OS By My Own?

Windows operating system will be pre-installed on your Windows VPS. We will install and configure...

How to disable RC4 ciphers from the Windows Server 2008?

Microsoft suggests using the TLS 1.2 Security Encryption to their clients since it has the...

How do I connect Windows VPS using Remote Desktop from different operating systems?

Remote Desktop Protocol (RDP) is a protocol that allows users to access their Windows VPS...

How to allow multiple RDP sessions for the single user in Windows?

Sometimes you want to access multiple concurrent Remote Desktop sessions for the same RDP user....

Can I open APN port 2195 on my VPS?

You will get full administrative control of your VPS, therefore you can surely open/close any...