0

Im using xamp for local php server. Is it possible to end execution of some really long script without restarting xamp php service?

5
  • How are you running the script? If you're running it in your browser you should be able to just hit stop. Commented Jul 18, 2013 at 7:49
  • If you are running the script in CLI mode from command line a ctrl+c should kill it. Commented Jul 18, 2013 at 7:53
  • I guess you mean XAMPP not XAMP Commented Jul 18, 2013 at 12:37
  • @RiggsFolly ctrl + c doesnt seem to work for me, in fact nothing does it continues executing and i have to manually close and reopen the CLI Commented Mar 14, 2017 at 14:08
  • Are you runnig on windows or a *nix Commented Mar 14, 2017 at 14:16

2 Answers 2

1

Restarting Apache only might be quicker

Sign up to request clarification or add additional context in comments.

Comments

0

To set maximum execution time of a specific PHP page, use set_time_limit in your PHP page.

To set maximum execution time of all PHP pages at once, use max_execution_time in php.ini file.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.