[How To] Increase Maximum Upload File Size in VestaCP

Increase VestaCP maximum upload file size: By default, VestaCP allows a maximum of 2 MB file size. If you create a new website with fresh installed VestaCP, then it is fine. However, when you want to import a database having more than 2 MB size in PHPMyAdmin, then by default it is not allowed.

So here we are going find out how to increase the maximum file size in VestaCP from the web admin control panel. Just look out the steps given below.

Step 1: First log into your VestaCP admin panel using your login credentials.

Step 2: Click on the Server button from the top menu

Step 3: Click on the Configure button associated with Apache2 webserver.

Step 4: Now click on the CONFIGURE PHP.INI button.

Step 5: Scroll down the cursor to the end of the page. Here you can find an option called – upload_max_filesize. By default, it is set to 2M.

Step 6: Now change the 2M to your desire MB. In my case, I would like to set it 10M to increase the maximum file size up to 10 MB.

Step 7: Now save the setting and restart your server.

sudo service apache2 restart
sudo service vista restart

Finally, you are done. Now you have successfully set the maximum file upload size in the VestaCP web server. Thank You and Good Luck.

Leave a Comment