Fatal error: Maximum execution time of 60 seconds exceeded in common.inc on line 552

lifewave's picture

Hi all!
In all pages of the admin menu on openpublish i see this error: Fatal error: Maximum execution time of 60 seconds exceeded in C:\xampplite\htdocs\drupal\includes\common.inc on line 552
but in this file i have no max_execution_time to change..
How have i to do?


i think you have to change

newbie66's picture

i think you have to change the maximum execution time setting in your php.ini file

ok but i haven't the php.ini

lifewave's picture

ok but i haven't the php.ini file on my server... where is it? i have only my drupal files..

php.ini location and settings

dazzler's picture

Hi lifewave,

It should/could be under /etc/

You will need root access (sudo) to edit it. Here is some documentation from OpenPublish specifying the suggested settings (see last two bullets):


Here is a list of the directives from php.net for your php.ini file:


That should give you a sense of what each directive does, as well as defaults.

Do you know which version of PHP you are running? Currently, the required version is 5.2.x (any version of 5.2). If you have 5.3, you could see issues, not necessarily of this vein, but something to be aware of.

Hope this helps...Good luck to you!

Works! Thanks

inti2010's picture


you'll have to create 1

resveld's picture

you'll have to create 1 inside your www directory (in the root)

i found the solution that problem:

eagle9178's picture

Fatal error: Maximum execution time of 60 seconds exceeded in C:\server\htdocs\wcmarket\includes\common.inc on line 552::: something.. etc etc...



You can fix it by editing setting.php in Drupal

umanda's picture

When you are working on Drupal in your local installation some times you get :Fatal error: Maximum execution time of 30/60 seconds exceeded on your browser.

I also got that issue and what I did, I added this code block in my settings.php.

1) open your settings.php (sites / all / default/settings.php)

2) add this code for PHP settings: line number between 147 - 168

ini_set('max_execution_time', 0); 

(you may get permission error, because by default setting.php is right protected. for that you can create a new setting.php file and make sure COPY AND PAST ALL data code in old setting.php then you can replace it )

Running on WAMP-server

thdev's picture

When you're running a drupal installation on a WAMP-server modify following parameter in \wamp\apps\phpmyadmin3.5.1\libraries\config.default.php

* maximum execution time in seconds (0 for no limit)
* @global integer $cfg['ExecTimeLimit']
$cfg['ExecTimeLimit'] = 5000;

I've set the eXecTimeLimit from 30 to 5000...