How to fix fatal error maximum execution time exceeded.

  • Post
    Kausar Al Mamun
    Participant

    Maximum Execution Time Exceeded on screen when trying to update a WordPress plugin or theme demo content importing ?

Viewing 1 replies (of 1 total)
  • Replies
    WP Team
    Keymaster

    Hello
    Make sure that your server meets the System Requirements recommended by WordPress.org https://wordpress.org/about/requirements/

    PHP version 7.3 or greater.
    MySQL version 5.6 or greater OR MariaDB version 10.1 or greater.
    HTTPS support

    Also Recommended PHP Configuration Limits
    Many issues that you may run into such as: white screen, demo content fails when importing, empty page content and other similar issues are all related to low PHP configuration limits. The solution is to increase the PHP limits. You can do this on your own, or contact your web host and ask them to increase those limits to a minimum as follows:

    Create or Edit an existing PHP.INI file

    memory_limit = 512M
    upload_max_filesize = 512M
    post_max_size = 64M
    max_execution_time = 600
    max_input_vars = 5000
    suhosin.post.max_vars = 5000
    suhosin.request.max_vars = 5000

    You can also increase the Php memory limit from wp-config.
    Add the below code just before the /* That’s all, stop editing! Happy blogging. */ line.

    /** Memory Limit */
    define(‘WP_MEMORY_LIMIT’, ‘512M’);

    • This reply was modified 2 years, 4 months ago by WP Team.
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.