FAQ/GUIDE: Max Execution Time Exceeded

This is the archive off all FAQ related threads.
Locked
DarkMickey
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Mon Jun 25, 2007 12:02 pm

FAQ/GUIDE: Max Execution Time Exceeded

Post by DarkMickey » Mon Jun 25, 2007 12:09 pm

The problem:
While installing a Joomla! component you get a “maximum execution time exceeded” error like this:
Fatal error: Maximum execution time of 60 seconds exceeded in H:\Joomla\administrator\index2.php on line 40
- The file and/or line could be different.

For this problem there are two solutions. Solution 2 is only possible if you have rights to modify the php.ini file and restart the web server.

Solution 1:
1. Open the index2.php file in the administrator folder.
2. Find the line: require_once( '../configuration.php' );
3. Paste the following line beneath: ini_set('max_execution_time', 120);
4. Save the file and reload the Joomla! administration page.

Solution 2:
1. Open the php.ini file (Normally it should be in the php or the windows directory)
2. Find the line: max_execution_time = 30
3. Change the value 30 into 120
4. Save the php.ini file and restart the web server
5. Now reload the Joomla! administration page.

Note: This solution affects the whole web server; only use it when you know what you are doing.

Geoff
Joomla! Virtuoso
Joomla! Virtuoso
Posts: 3193
Joined: Sun Apr 16, 2006 12:20 am
Location: 127.0.0.1

Re: FAQ/GUIDE: Max Execution Time Exceeded

Post by Geoff » Thu Aug 09, 2007 6:17 am

Backup, backup, backup!
The "Master" .htacess file by Nicholas http://snipt.net/nikosdion/the-master-htaccess


Locked

Return to “FAQ Archive”