PHP Server Configurations

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 limits compare to the below.

– Go to php.ini file at “root/etc” directory and paste the below code snippet to setup the new configuration.

max_execution_time = 300
max_input_vars = 2000
memory_limit = 128M
post_max_size = 32M
upload_max_filesize = 32M

– Go to .htaccess file at main WordPress directory and paste the below code snippet at the end of file.

php_value max_execution_time 300
php_value max_input_vars 2000
php_value memory_limit 128M
php_value post_max_size 32M 
php_value upload_max_filesize 32M

Note: If you don’t have an access to the php.ini, .htaccess please contact your hosting provider to increase the limits for you.

Last updated by thirumani02 on February 1, 2017