Increase PHP file Upload size in windows server 2008

The php.ini file is the default configuration file for running applications that require PHP. It is used to control variables such as upload sizes, file timeouts, and resource limits.
- Login to windows VPS as Administrator
- 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.

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.

If you need any assistance from our support person, you can contact us at support@scopehosts and [email protected] , we would be happy to help you.

  • 2 Users Found This Useful
Was this answer helpful?

Related Articles

Setup Basic POP3/IMAP Mail Server in Centos/RHEL

Setup Basic POP3/IMAP Mail Server in Centos/RHELSetting up a mail server can be quite...

How Do I access RDP

Remote Desktop Protocol (RDP) is a proprietary protocol developed by Microsoft, which provides a...

Update Time-Zone on OpenVZ VPS

OpenVZ will reflect the host server’s time by default, You can configure your VPS with custom...

Enable TUN/TAP in Solus VM

 TAP (as in network tap) simulates a link layer device and it operates with layer 2 packets such...

Change default RDP port in windows server 2012 R2

By default Windows machines are remotely accessible via Remote Desktop on TCP port 3389. In...