{"id":4699,"date":"2023-01-22T17:50:29","date_gmt":"2023-01-22T17:50:29","guid":{"rendered":"https:\/\/www.evolurise.com\/?p=4699"},"modified":"2023-01-22T17:50:29","modified_gmt":"2023-01-22T17:50:29","slug":"comment-reparer-lerreur-php-maximum-execution-time-exceeded-sur-wordpress","status":"publish","type":"post","link":"https:\/\/www.evolurise.com\/en\/comment-reparer-lerreur-php-maximum-execution-time-exceeded-sur-wordpress\/","title":{"rendered":"How to fix the PHP error \"maximum execution time exceeded\" on WordPress"},"content":{"rendered":"

If you're using WordPress for your website, you may encounter the \"maximum execution time exceeded\" error when trying to access certain pages or save changes. This error is generated when the running PHP script takes longer than allowed to execute.<\/p>\n

Why does this error occur? There are several reasons why this error may occur. One of the most common reasons is that you have plugins or themes that take a long time to load or run. Scripts that perform intensive calculations, such as statistics or complex database queries, can also cause this error.<\/p>\n

How do I resolve this error?<\/h2>\n

There are a number of ways to resolve this error, some of which are described below:<\/p>\n

    \n
  1. Increase the execution limit: You can increase the PHP execution limit by modifying the PHP configuration file on your server. You can also add this line of code to your WordPress site's wp-config.php file:\n
    set_time_limit(300);<\/pre>\n

    (300 means 300 seconds or 5 minutes). <\/li>\n

  2. Deactivate unnecessary plugins and themes: If you have plugins or themes that are no longer in use, it's a good idea to deactivate them to reduce the load on your server.<\/li>\n
  3. Optimize database queries: If you use complex database queries, you can optimize them to reduce execution time.<\/li>\n
  4. Use a caching plugin: Caching plugins such as WP Super Cache or W3 Total Cache can help speed up loading times by caching your site's pages.<\/li>\n
  5. also help to reduce loading and script execution times. Web hosts such as WP Engine or Kinsta offer servers optimized for WordPress and can help prevent errors such as \"maximum execution time exceeded\".<\/li>\n
  6. Use a CDN: A content distribution network (CDN) can also help speed up loading times by distributing your site's resources across several servers around the world. This can help reduce the load on your main server and improve loading times for geographically distant users.<\/li>\n
  7. Check for syntax or coding errors: The \"maximum execution time exceeded\" error may be caused by syntax or coding errors in your PHP scripts. It is therefore important to check your code regularly to ensure that it is correctly written and contains no errors.<\/li>\n<\/ol>\n

    In conclusion, the \"maximum execution time exceeded\" error can be frustrating when it pops up on your WordPress site, but there are several steps you can take to resolve it. By increasing the execution limit, optimizing database queries, using a caching plugin and using a quality web host, you should be able to resolve this issue quickly.<\/p>","protected":false},"excerpt":{"rendered":"

    If you're using WordPress for your website, you may encounter the \"maximum execution time exceeded\" error when trying to access certain pages or save changes....<\/p>","protected":false},"author":2,"featured_media":4732,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[267],"tags":[],"class_list":["post-4699","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-erreurs-de-wordpress"],"yoast_head":"\nComment r\u00e9parer l'erreur PHP "maximum execution time exceeded" sur WordPress | Evolurise<\/title>\n<meta name=\"description\" content=\"Vous avez constat\u00e9 cette erreur "maximum execution time exceeded" dans vos logs ou dans votre console, d\u00e9couvrez dans cet article les causes.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.evolurise.com\/en\/comment-reparer-lerreur-php-maximum-execution-time-exceeded-sur-wordpress\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Comment r\u00e9parer l'erreur PHP "maximum execution time exceeded" sur WordPress\" \/>\n<meta property=\"og:description\" content=\"Vous avez constat\u00e9 cette erreur "maximum execution time exceeded" dans vos logs ou dans votre console, d\u00e9couvrez dans cet article les causes.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.evolurise.com\/en\/comment-reparer-lerreur-php-maximum-execution-time-exceeded-sur-wordpress\/\" \/>\n<meta property=\"og:site_name\" content=\"Evolurise\" \/>\n<meta property=\"article:published_time\" content=\"2023-01-22T17:50:29+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.evolurise.com\/wp-content\/uploads\/2023\/01\/template-8.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1280\" \/>\n\t<meta property=\"og:image:height\" content=\"720\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Walid Sadfi\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Walid Sadfi\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.evolurise.com\/en\/comment-reparer-lerreur-php-maximum-execution-time-exceeded-sur-wordpress\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.evolurise.com\/en\/comment-reparer-lerreur-php-maximum-execution-time-exceeded-sur-wordpress\/\"},\"author\":{\"name\":\"Walid Sadfi\",\"@id\":\"https:\/\/www.evolurise.com\/#\/schema\/person\/44caa0977fbd9196c8e600d7f01e6d77\"},\"headline\":\"Comment r\u00e9parer l’erreur PHP \u00ab\u00a0maximum execution time exceeded\u00a0\u00bb sur WordPress\",\"datePublished\":\"2023-01-22T17:50:29+00:00\",\"dateModified\":\"2023-01-22T17:50:29+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.evolurise.com\/en\/comment-reparer-lerreur-php-maximum-execution-time-exceeded-sur-wordpress\/\"},\"wordCount\":546,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.evolurise.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.evolurise.com\/en\/comment-reparer-lerreur-php-maximum-execution-time-exceeded-sur-wordpress\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.evolurise.com\/wp-content\/uploads\/2023\/01\/template-8.png\",\"articleSection\":[\"Erreurs de Wordpress\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.evolurise.com\/en\/comment-reparer-lerreur-php-maximum-execution-time-exceeded-sur-wordpress\/\",\"url\":\"https:\/\/www.evolurise.com\/en\/comment-reparer-lerreur-php-maximum-execution-time-exceeded-sur-wordpress\/\",\"name\":\"Comment r\u00e9parer l'erreur PHP \\\"maximum execution time exceeded\\\" sur WordPress | Evolurise\",\"isPartOf\":{\"@id\":\"https:\/\/www.evolurise.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.evolurise.com\/en\/comment-reparer-lerreur-php-maximum-execution-time-exceeded-sur-wordpress\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.evolurise.com\/en\/comment-reparer-lerreur-php-maximum-execution-time-exceeded-sur-wordpress\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.evolurise.com\/wp-content\/uploads\/2023\/01\/template-8.png\",\"datePublished\":\"2023-01-22T17:50:29+00:00\",\"dateModified\":\"2023-01-22T17:50:29+00:00\",\"description\":\"Vous avez constat\u00e9 cette erreur \\\"maximum execution time exceeded\\\" dans vos logs ou dans votre console, d\u00e9couvrez dans cet article les causes.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.evolurise.com\/en\/comment-reparer-lerreur-php-maximum-execution-time-exceeded-sur-wordpress\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.evolurise.com\/en\/comment-reparer-lerreur-php-maximum-execution-time-exceeded-sur-wordpress\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.evolurise.com\/en\/comment-reparer-lerreur-php-maximum-execution-time-exceeded-sur-wordpress\/#primaryimage\",\"url\":\"https:\/\/www.evolurise.com\/wp-content\/uploads\/2023\/01\/template-8.png\",\"contentUrl\":\"https:\/\/www.evolurise.com\/wp-content\/uploads\/2023\/01\/template-8.png\",\"width\":1280,\"height\":720},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.evolurise.com\/en\/comment-reparer-lerreur-php-maximum-execution-time-exceeded-sur-wordpress\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Evolurise\",\"item\":\"https:\/\/www.evolurise.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Comment r\u00e9parer l’erreur PHP \u00ab\u00a0maximum execution time exceeded\u00a0\u00bb sur WordPress\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.evolurise.com\/#website\",\"url\":\"https:\/\/www.evolurise.com\/\",\"name\":\"Evolurise - Agence web sp\u00e9cialiste Wordpress\",\"description\":\"Agence web sp\u00e9cialiste Wordpress\",\"publisher\":{\"@id\":\"https:\/\/www.evolurise.com\/#organization\"},\"alternateName\":\"Evolurise - Agence web sp\u00e9cialiste Wordpress\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.evolurise.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.evolurise.com\/#organization\",\"name\":\"Evolurise - Agence web sp\u00e9cialiste Wordpress\",\"url\":\"https:\/\/www.evolurise.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.evolurise.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.evolurise.com\/wp-content\/uploads\/2023\/04\/Logo_bg_transparent.png\",\"contentUrl\":\"https:\/\/www.evolurise.com\/wp-content\/uploads\/2023\/04\/Logo_bg_transparent.png\",\"width\":1000,\"height\":300,\"caption\":\"Evolurise - Agence web sp\u00e9cialiste Wordpress\"},\"image\":{\"@id\":\"https:\/\/www.evolurise.com\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.evolurise.com\/#\/schema\/person\/44caa0977fbd9196c8e600d7f01e6d77\",\"name\":\"Walid Sadfi\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.evolurise.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/?s=96&d=mm&r=g\",\"caption\":\"Walid Sadfi\"}}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Comment r\u00e9parer l'erreur PHP \"maximum execution time exceeded\" sur WordPress | Evolurise","description":"Vous avez constat\u00e9 cette erreur \"maximum execution time exceeded\" dans vos logs ou dans votre console, d\u00e9couvrez dans cet article les causes.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.evolurise.com\/en\/comment-reparer-lerreur-php-maximum-execution-time-exceeded-sur-wordpress\/","og_locale":"en_US","og_type":"article","og_title":"Comment r\u00e9parer l'erreur PHP \"maximum execution time exceeded\" sur WordPress","og_description":"Vous avez constat\u00e9 cette erreur \"maximum execution time exceeded\" dans vos logs ou dans votre console, d\u00e9couvrez dans cet article les causes.","og_url":"https:\/\/www.evolurise.com\/en\/comment-reparer-lerreur-php-maximum-execution-time-exceeded-sur-wordpress\/","og_site_name":"Evolurise","article_published_time":"2023-01-22T17:50:29+00:00","og_image":[{"width":1280,"height":720,"url":"https:\/\/www.evolurise.com\/wp-content\/uploads\/2023\/01\/template-8.png","type":"image\/png"}],"author":"Walid Sadfi","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Walid Sadfi","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.evolurise.com\/en\/comment-reparer-lerreur-php-maximum-execution-time-exceeded-sur-wordpress\/#article","isPartOf":{"@id":"https:\/\/www.evolurise.com\/en\/comment-reparer-lerreur-php-maximum-execution-time-exceeded-sur-wordpress\/"},"author":{"name":"Walid Sadfi","@id":"https:\/\/www.evolurise.com\/#\/schema\/person\/44caa0977fbd9196c8e600d7f01e6d77"},"headline":"Comment r\u00e9parer l’erreur PHP \u00ab\u00a0maximum execution time exceeded\u00a0\u00bb sur WordPress","datePublished":"2023-01-22T17:50:29+00:00","dateModified":"2023-01-22T17:50:29+00:00","mainEntityOfPage":{"@id":"https:\/\/www.evolurise.com\/en\/comment-reparer-lerreur-php-maximum-execution-time-exceeded-sur-wordpress\/"},"wordCount":546,"commentCount":0,"publisher":{"@id":"https:\/\/www.evolurise.com\/#organization"},"image":{"@id":"https:\/\/www.evolurise.com\/en\/comment-reparer-lerreur-php-maximum-execution-time-exceeded-sur-wordpress\/#primaryimage"},"thumbnailUrl":"https:\/\/www.evolurise.com\/wp-content\/uploads\/2023\/01\/template-8.png","articleSection":["Erreurs de Wordpress"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.evolurise.com\/en\/comment-reparer-lerreur-php-maximum-execution-time-exceeded-sur-wordpress\/","url":"https:\/\/www.evolurise.com\/en\/comment-reparer-lerreur-php-maximum-execution-time-exceeded-sur-wordpress\/","name":"Comment r\u00e9parer l'erreur PHP \"maximum execution time exceeded\" sur WordPress | Evolurise","isPartOf":{"@id":"https:\/\/www.evolurise.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.evolurise.com\/en\/comment-reparer-lerreur-php-maximum-execution-time-exceeded-sur-wordpress\/#primaryimage"},"image":{"@id":"https:\/\/www.evolurise.com\/en\/comment-reparer-lerreur-php-maximum-execution-time-exceeded-sur-wordpress\/#primaryimage"},"thumbnailUrl":"https:\/\/www.evolurise.com\/wp-content\/uploads\/2023\/01\/template-8.png","datePublished":"2023-01-22T17:50:29+00:00","dateModified":"2023-01-22T17:50:29+00:00","description":"Vous avez constat\u00e9 cette erreur \"maximum execution time exceeded\" dans vos logs ou dans votre console, d\u00e9couvrez dans cet article les causes.","breadcrumb":{"@id":"https:\/\/www.evolurise.com\/en\/comment-reparer-lerreur-php-maximum-execution-time-exceeded-sur-wordpress\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.evolurise.com\/en\/comment-reparer-lerreur-php-maximum-execution-time-exceeded-sur-wordpress\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.evolurise.com\/en\/comment-reparer-lerreur-php-maximum-execution-time-exceeded-sur-wordpress\/#primaryimage","url":"https:\/\/www.evolurise.com\/wp-content\/uploads\/2023\/01\/template-8.png","contentUrl":"https:\/\/www.evolurise.com\/wp-content\/uploads\/2023\/01\/template-8.png","width":1280,"height":720},{"@type":"BreadcrumbList","@id":"https:\/\/www.evolurise.com\/en\/comment-reparer-lerreur-php-maximum-execution-time-exceeded-sur-wordpress\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Evolurise","item":"https:\/\/www.evolurise.com\/"},{"@type":"ListItem","position":2,"name":"Comment r\u00e9parer l’erreur PHP \u00ab\u00a0maximum execution time exceeded\u00a0\u00bb sur WordPress"}]},{"@type":"WebSite","@id":"https:\/\/www.evolurise.com\/#website","url":"https:\/\/www.evolurise.com\/","name":"Evolurise - Agence web sp\u00e9cialiste Wordpress","description":"Agence web sp\u00e9cialiste Wordpress","publisher":{"@id":"https:\/\/www.evolurise.com\/#organization"},"alternateName":"Evolurise - Agence web sp\u00e9cialiste Wordpress","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.evolurise.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.evolurise.com\/#organization","name":"Evolurise - Agence web sp\u00e9cialiste Wordpress","url":"https:\/\/www.evolurise.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.evolurise.com\/#\/schema\/logo\/image\/","url":"https:\/\/www.evolurise.com\/wp-content\/uploads\/2023\/04\/Logo_bg_transparent.png","contentUrl":"https:\/\/www.evolurise.com\/wp-content\/uploads\/2023\/04\/Logo_bg_transparent.png","width":1000,"height":300,"caption":"Evolurise - Agence web sp\u00e9cialiste Wordpress"},"image":{"@id":"https:\/\/www.evolurise.com\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.evolurise.com\/#\/schema\/person\/44caa0977fbd9196c8e600d7f01e6d77","name":"Walid Sadfi","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.evolurise.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/?s=96&d=mm&r=g","caption":"Walid Sadfi"}}]}},"_links":{"self":[{"href":"https:\/\/www.evolurise.com\/en\/wp-json\/wp\/v2\/posts\/4699","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.evolurise.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.evolurise.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.evolurise.com\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.evolurise.com\/en\/wp-json\/wp\/v2\/comments?post=4699"}],"version-history":[{"count":0,"href":"https:\/\/www.evolurise.com\/en\/wp-json\/wp\/v2\/posts\/4699\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.evolurise.com\/en\/wp-json\/wp\/v2\/media\/4732"}],"wp:attachment":[{"href":"https:\/\/www.evolurise.com\/en\/wp-json\/wp\/v2\/media?parent=4699"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.evolurise.com\/en\/wp-json\/wp\/v2\/categories?post=4699"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.evolurise.com\/en\/wp-json\/wp\/v2\/tags?post=4699"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}