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