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

"The Page cannnot be found" error occurs while configuring phpMyAdmin in Windows Server 2003

This article will guide you on how to configure PHPMyAdmin in Windows Server 2003 Operating...

How to create an FTP account (manually) in Windows VPS or Dedicated server?

The File Transfer Protocol (FTP) is useful for Web hosting companies to allow their customers to...

How to Install MetaTrader in Windows VPS?

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

How do I print to my local printers from my windows VPS?

If you are processing documents directly from your Windows VPS, and want them to be printed out...

How to use multiple monitors with Remote Desktop Connection for Windows?

If you are using multiple monitors and often connect to remote servers via Remote Desktop, you...