As of this writing, the XAMPP version I’m using is Version 1.6.3a for Windows

The problem I encountered when I’m executing a longer script: ‘Fatal error: Maximum execution time of 60 seconds exceeded’—it’s a default configuration on XAMPP.

So, to increase it, check the ‘php.ini’ on xampp folder. Here’s the path: C:\xampp\apache\bin\php.ini

Edit line 244 (for editing, must use Notepad or any script editor available in your computer. Don’t use Office Word)

max_execution_time = 60 ; Maximum execution time of each script, in seconds

To

max_execution_time = 300 ; Maximum execution time of each script, in seconds

Then save the file (! important reminder: file should end in ‘ini’ extension)

Advertisements