By default our servers limit the maximum upload size in WordPress to 2 MB. A direct work around for this is to manually upload files via FTP or by using cPanel’s File Manager. In some cases correct functioning of your website depends on PHP version installed on the server.

Thanks to PHP Selector function it is possible to select the necessary PHP version as well as enable/disable certain PHP modules and functions.

 

1. To modify your PHP settings, follow the steps below:


2. Log in to your cPanel account.

Scroll down to Software section > Select PHP Version


 

3. Here you will see the list of available modules and extensions.


If you do not need to change PHP version and just want to turn on/off specific extensions, you can do this by ticking/unticking the corresponding boxes.




4. To change individual settings within PHP version in question, click on Switch to PHP Settings located in the top right-hand corner of the page.


By clicking on one of the options (in grey), you will be presented with a drop-down list to change specific settings. Hit Apply to implement the settings. Don’t forget to save after you apply the settings.


There are 3 items that will need to be modified to successfully change the Maximum upload file size:


max_execution_time - how long(ms) the file will attempt to be uploaded before it times out
post_max_size - Maximum allowed size for posts
upload_max_filesize - Maximum allowed size for everything else


   

NOTE: it is recommended to update your website scripts and use PHP 5.4. If the latest software you run for your websites are not yet compiled for PHP 5.4, be advised to contact script vendor for compatibility patch.


NOTE 2: if you used php.ini file for editing your account PHP configuration before, you will need to replicate the custom values using PHP Selector tool.



If you need assistance, please contact our HelpDesk