Max Execution time

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Max Execution time

Postby erzon » 02. April 2013 11:57

This error always showing in my script.. I have 15000 records and seems when I try to extract the records the max time limit appear.. I already change it to php.ini but still no effect. i even set it to 0 and time limit set to -1 for unlimited... but still the same I restart the xampp already and the apache still the same problem..

Im using Windows 7
Control Panel: version 3
Xampp: 1.8.1
erzon
 
Posts: 22
Joined: 12. May 2012 05:26
Operating System: Windows 7

Re: Max Execution time

Postby Altrea » 02. April 2013 12:04

Hi erzon,

Please start new threads with the words "Hi" or "Hello". A short salutation is an act of politeness. Even if the internet is an virtual area, there is always a human being behind the screen. A polite beginning is the first positive impression you can leave here and helps to get polite answers too. Please keep that in mind if you start a new thread in any community board. Thank you.

erzon wrote:I already change it to php.ini but still no effect. i even set it to 0 and time limit set to -1 for unlimited... but still the same I restart the xampp already and the apache still the same problem..

Please open your orange XAMPP Administration page (http://localhost/xampp/) and click on the phpinfo() Link in your Navigation.
Which Master and Local Values are listed there for the max_execution_time setting?

best wishes,
Altrea
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11926
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: Max Execution time

Postby erzon » 02. April 2013 12:10

Hi Sorry if you mis understood my first post...

it says 700 700... i change it to 0 for unlimited and change back to 700 and still not working..

Thank you for quick response in my problem :)
erzon
 
Posts: 22
Joined: 12. May 2012 05:26
Operating System: Windows 7

Re: Max Execution time

Postby Altrea » 02. April 2013 12:15

erzon wrote:it says 700 700... i change it to 0 for unlimited

could you see that it was set to unlimited in the phpinfo() too?
If you setted it to unlimited you should not get this specific error message (or your application overrides the setting).
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11926
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: Max Execution time

Postby erzon » 02. April 2013 12:18

Hi Altrea.. I change it to unlimited and now its showing 0 0 in max time execution.. even the input time i change it to -1 just to check the results
erzon
 
Posts: 22
Joined: 12. May 2012 05:26
Operating System: Windows 7

Re: Max Execution time

Postby Altrea » 02. April 2013 12:19

And what is the full error message you now get from your script?
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11926
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: Max Execution time

Postby erzon » 02. April 2013 12:20

Hi I get this

Fatal error: Maximum execution time of 120 seconds exceeded in xxx.php on line 5168
erzon
 
Posts: 22
Joined: 12. May 2012 05:26
Operating System: Windows 7

Re: Max Execution time

Postby Altrea » 02. April 2013 12:22

erzon wrote:Fatal error: Maximum execution time of 120 seconds exceeded in xxx.php on line 5168

Well, then your application overrides the setting.
Somewhere inside your .htaccess or your code the setting is resetted to 120 seconds.
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11926
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: Max Execution time

Postby erzon » 02. April 2013 12:25

Im using third party program to generate the code.... I will check if the code itself reset the normal settings in php.ini but in my setup it's all unlimited right?
erzon
 
Posts: 22
Joined: 12. May 2012 05:26
Operating System: Windows 7

Re: Max Execution time

Postby Altrea » 02. April 2013 12:28

erzon wrote:in my setup it's all unlimited right?

Yes, your php.ini setting is successfully setted.
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11926
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: Max Execution time

Postby erzon » 02. April 2013 12:30

Thank you so much for the help at least I know that the only things I need to check is the code itself.. Sorry if you mis understood me earlier.. Thank you again for the quick response
erzon
 
Posts: 22
Joined: 12. May 2012 05:26
Operating System: Windows 7

Re: Max Execution time

Postby Altrea » 02. April 2013 12:33

You are welcome :D

erzon wrote:Sorry if you mis understood me earlier

I don't think i have misunderstood you. I don't think that it was your plan to be impolite. But i don't see any reason why anybody could not start a new thread with the two short letters Hi.
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11926
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: Max Execution time

Postby erzon » 02. April 2013 12:36

yah I notice that also.. maybe because im in bad shape because of this problem :) and I have a deadline to fix this hehehe..
erzon
 
Posts: 22
Joined: 12. May 2012 05:26
Operating System: Windows 7

Re: Max Execution time

Postby Altrea » 02. April 2013 12:38

Wish you all the best for solving your issue.
Let us now, if your problem could be solved finally 8)
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11926
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: Max Execution time

Postby erzon » 05. April 2013 08:35

Hi I solved the problem already... this is also because of codes changes the max time..Thank you so much
erzon
 
Posts: 22
Joined: 12. May 2012 05:26
Operating System: Windows 7


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 153 guests