Start a new topic
Answered

What Are The Best PHP Settings For WordPress?

Is there a preferred PHP setting for MEC?


Best Answer

Host configurations: To access these fields please edit “php.ini” file which is located in host (if you can’t find it then contact with your host service provider)


upload_max_filesize = 32M

post_max_size = 48M
memory_limit = 256M
max_execution_time = 600
max_input_vars = 10000
max_input_time = 400



WordPress Configurations:

https://codex.wordpress.org/Editing_wp-config.php#Increasing_memory_allocated_to_PHP

Reference: https://wordpress.org/about/requirements/

1 Comment

Answer

Host configurations: To access these fields please edit “php.ini” file which is located in host (if you can’t find it then contact with your host service provider)


upload_max_filesize = 32M

post_max_size = 48M
memory_limit = 256M
max_execution_time = 600
max_input_vars = 10000
max_input_time = 400



WordPress Configurations:

https://codex.wordpress.org/Editing_wp-config.php#Increasing_memory_allocated_to_PHP

Reference: https://wordpress.org/about/requirements/

Login or Signup to post a comment