Having a proper server configuration is very essential for upload & installation process. While the installation process, low server limits may lead to errors such as Internal Server Error or Are you sure you want to do this? So make sure that you are having the equivalent or higher variable limits compare to the below.
max_execution_time = 300 max_input_vars = 2000 memory_limit = 128M post_max_size = 32M upload_max_filesize = 32M
Changing PHP Variables on Self Managed Hosting
Here, you can find the instructions to change PHP configurations on self managed hosting/server providers such as DigitalOcean, Google’s VM, Amazon’s EC2, Azure’s VM
- Login to your instance through Terminal or Account’s Instance page.
- Go to
/etc/php8/apache2/
for Apache 2 or/etc/php/8/
for Nginx server. - Find the above listed variables and change the values to recommended one.
Changing PHP Variables on Managed Hosting
For cPanel Users:
- Login to your cPanel account directly through cPanel site or through your hosting account
- Click “Select PHP Version” under “Softwares” tab.
- Switch to PHP options by clicking “Switch to PHP Options” at Top Right of the Extensions.
- Now you can find all the listed variables with values respectively. you can change it to recommended one.
Useful Links:
- Change PHP variables on GoDaddy – https://www.godaddy.com/help/change-php-settings-for-my-hosting-account-26379
- Increase PHP Memory Limit on Bluehost – https://www.bluehost.com/help/Useful Links:article/how-to-increase-the-php-memory-limit
- Change PHP variables on SiteGround – https://www.siteground.com/kb/how_to_change_the_value_of_a_php_setting/
- Server Configuration on WPEngine – https://wpengine.com/support/platform-settings/