Comi
  • 👋Welcome to Comi
  • ✨ChangeLog
  • Overview
    • 💡Getting Started
      • 🛠️Installation Comi
        • 7️⃣1st - Download The Theme
        • 2️⃣2nd - Install Theme
        • 3️⃣3rd - Import Theme
        • 4️⃣4th - Select the homepage
        • 5️⃣5th - Select the permalinks
        • 6️⃣6th - Plugin Installation
        • 7️⃣7th - Install Child Theme
      • ⬆️Theme Update
  • Basic Setup
    • 📖Create the Menu
    • 🔖Set up the Header
    • 🎟️Set up the Footer
    • 📄Setup Mega Menu
  • PAGES
    • 📃Create a Page
    • ❕Page Options
    • 🏨Page Builder
  • Portfolio
    • 📚Create a Portfolio
    • 📑Portfolio Page
  • BLOG
    • 📰Create a Blog Post
    • 🗞️Set up the Blog Page
  • SHOP
    • 🧰Install WooCommerce
  • THEME OPTIONS
    • ⚙️General Option
    • 🏗️Builder Option
      • Top Bar
      • Header
      • Page Title
      • Footer
    • 📓Blog Option
    • 🛍️Shop Option
    • 🗓️Porfolio Option
    • 🆎Typography Option
    • 📃Page Option
    • 💻Social Option
    • 👩‍🎨Color Option
    • 🍁Effects Option
    • 🎭Performance Option
  • Translation And Multilingual
    • ㊗️Translate the website or change all texts to another language/text
    • 🇨🇫Setup a multi-lingual website
  • FAQ'S
    • How to increase the PHP memory
Powered by GitBook
On this page
  • Method 1: Edit file .htaccess:
  • Method 2: Edit file wp-config.php:
  1. FAQ'S

How to increase the PHP memory

PreviousSetup a multi-lingual website

Last updated 1 year ago

The PHP Time Limit is the amount of time that your site will spend on a single operation before timing out. When an operation reaches the time limit set, then it will return a fatal error that looks like this:

Fatal error: Maximum execution time of xx seconds exceeded...

The default value for PHP time limit on most hosts for the PHP Time Limit is 30 seconds. You can increase this limit by following any of the methods mentioned below.

Method 1: Edit file .htaccess:

Add the following to .htaccess (Make sure you back up .htaccess before you edit it):

php_value max_execution_time 3000

Method 2: Edit file wp-config.php:

Add the following to wp-config.php:

set_time_limit(3000);

Method 3: Editing php.ini

Add the following to php.ini:

max_execution_time = 3000

Read more about Maximum execution time exceeded on .

WordPress.org