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
    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 occuring while configuring MySQL service in Website...

How to Reset Windows VPS Management Portal Password From Client Area?

Sometimes, you may need to reset the password of Windows VPS Management portal. By following...

Do you install any antivirus protection in Windows VPS?

Yes, we offer Clamwin free antivirus software as an add-on with Windows VPS plans. We do not...

Error: Specified FTP account already exists on the target service

Sometimes, it happens that if you try to create an FTP account from WebsitePanel, it shows an...

How do I add rDNS record for my VPS?

Please note that you cannot set rDNS [Reverse DNS] or PTR record on your VPS IP address at your...