Increase PHP file Upload size in windows server 2008

You can increse the PHP file upload size in windows servers, follow the below steps to reset the upload size.

- Login to windows VPS/server as an administrator via remote desktop
- 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.

  • 4 用戶發現這個有用
這篇文章有幫助嗎?

相關文章

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...

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...