Recommended apache configurations for iProDev themes and plugins

Below is the list of main apache setting parameters and the recommended values for our themes and plugins, to change those values, you need to contact your host provider and tell them about.

 

post_max_size: Sets max size of post data allowed.
post_max_size = 20M
upload_max_filesize: Sets the maximum size of an uploaded file.
upload_max_filesize = 20M
max_input_time: Sets the maximum time in seconds a script is allowed to parse input data, like POST and GET
max_input_time = 90
max-input-nesting-level: Sets the sub level of data in array
max-input-nesting-level = 64
max_execution_time: Sets the maximum time in seconds a script is allowed to run before it is terminated by the parser.
max_execution_time = 60
memory_limit: Sets the maximum amount of memory in bytes that a script is allowed to allocate
memory_limit = 256M
max_input_vars: Sets the number of input variables may be accepted
max_input_vars = 10000

 

If also suhosin patch is installed on your server, change the following parameters to specified values.

php_value suhosin.post.max_array_depth 100
php_value suhosin.post.max_array_index_length 512
php_value suhosin.post.max_name_length 512
php_value suhosin.post.max_totalname_length 512
php_value suhosin.post.max_value_length 2000000
php_value suhosin.post.max_vars 10000
php_value suhosin.request.max_array_depth 100
php_value suhosin.request.max_array_index_length 512
php_value suhosin.request.max_name_length 512
php_value suhosin.request.max_totalname_length 512
php_value suhosin.request.max_value_length 2000000
php_value suhosin.request.max_vars 10000