Sala-WP
  • Introduction
  • Getting Started
  • Changelog
  • Installation
    • Step 1 - Download Theme
    • Step 2 - Install Theme
    • Step 3 - Theme Setup
    • Step 4 - Select home page
  • Update Theme
  • Theme Options
  • Customize
    • General
    • Header
    • Blog
    • Portfolio
    • Shop
    • Page Title
    • Typography
    • Color
    • Layout
    • Page
    • 404 Page
    • Footer
    • Social Sharing
    • Notices
    • Button
    • Menus
  • WooCommerce
  • Uxper Crypto
  • FAQ's
    • How to fix "Sorry, you are not allowed to access this page." when click "Setup Wizard"
    • Import new home pages after update theme
    • Missing page after install theme
    • How to import the missing template
    • Fixing Fonts appear as bold or do not load (Kirki issue)
    • Broken page
    • Where is the dark mode setting?
    • How to edit Pricing Table
    • Website showing error after editing or copying widget in Elementor
    • How to change Color site
    • How to Increase PHP Time Limit for a WordPress Site?
    • How to fix the warning " Warning: Constant UXPER_... already defined in..."
    • How to fix warning Carousel slider "Warning Undefined array key..."
    • How to set up Menubar
    • Fixing Outdated WooCommerce Templates
    • How to translate/edit texts/words?
  • TIPS & TRICKS
    • WordPress Hosting
    • Support
    • Resource Credits
    • Theme License
Powered by GitBook
On this page

Was this helpful?

  1. FAQ's

How to Increase PHP Time Limit for a WordPress Site?

PreviousHow to change Color siteNextHow to fix the warning " Warning: Constant UXPER_... already defined in..."

Last updated 1 year ago

Was this helpful?

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