Skip to main content

Maximum Execution Time Exceeded

This error occurs when we exceed the script execution time allocated in the php.ini file.

One solution to this is:

1. Open the php.ini file with in notepad.  The php.ini file is usually located in your PHP installation directory.

2. look for these lines

max_execution_time = 60     ; Maximum execution time of each script, in seconds
max_input_time = 60    ; Maximum amount of time each script may spend parsing request data
memory_limit = 32M      ; Maximum amount of memory a script may consume (16MB)


3. Set the max_execution_time to a higher number, say, 180 which is equivalent to 3 minutes.

4. Restart your Apache then try your script again.

If the error still occurs it means you need to set the execution time to a higher number. Otherwise, it means you need to optimize your script so and make it run faster.

Comments

Popular posts from this blog

How to Backup Your Blogger/Blogspot Blog

There has been a lot of times when my entries here magically disappeared costing me several months of work. Fortunately, there is now an easy way to backup Blogspot blogs. In your blog's control panel, if you look under the Settings tab, you will see Blog Tools section. Beside it you will see an option to Import Blog, Export Blog, and Delete Blog. Export Blog will allow you to save the contents of your blog in your hard disk. Import Blog will allow you to restore a previously saved copy. Related Link: To Begin Again

GIMP: How to Enable Wacom Pen Tablet

If you are doing digital graphics in Gimp, whether painting or simply drawing, it is best to use a pen tablet. Wacom is a recognized brand when it comes to pen tablets. Gimp does support it but it is not enabled by default. How to Enable Pen Tablet Support 1. Launch Gimp using your pen tablet. Don't use the mouse to launch Gimp. If you do, Gimp won't detect it. 2. In the menu click Edit>Preference. 3. On the list click "Input Devices". 4. Click "Configure Extended Input Decives". Here is where Gimp gets weird. If you started Gimp for the first time using a mouse, it will say there are no available input device. But if you launched it using the pen tablet, you will see "Wacom Tablet Pressure Stylus" and "Wacom Tablet Eraser" . 5. Click the Close Button 6. Click "Save Input Device Settings Now" so that the pen tablet will still be supported when you launch Gimp next time.

LED Monitor Review: LG FLATRON E2041

My Old AOC CRT Monitor began to show signs of dying. It would occasionally black out for a few seconds. Sometimes lightning streaks  would run across the screen. I bought that monitor way back in 2006. It served me well for 5 years. It was very durable and AOC is a good brand. And so I had no choice but to buy myself a new monitor. I would have preferred another CRT Monitor but they were no longer available. Even the more recent LCD screens are being phased out in favor a the newer LED monitors. LG FLATRON E2041 (This was not my first choice but it was the next best thing available in the computer store I visited). 1600 X 900 Resolution (16:9 Aspect Ratio) Contrast Ratio: 5,000,000:1 Brightness: 250 Cd/m2 Dimensions W/Stand (WHD): 17.44" X 13.78" X 6.54" My Feedback This monitor comes with two connectors VGA and DVI. It comes with a CD that is supposed to contain the manual and monitor drivers. However, when you install the monitor driver contain