Jump to content

Making Php Run Infinitely...


NFreak

Recommended Posts

If I try and run a PHP script that takes a few hours to run, it will stop after about 25 minutes. I'm pretty sure it's because of a server setting in the php.ini file. I decided to install Apache on my computer, and I got PHP installed as well.

 

Can anyone help me configure PHP so that it doesn't kill the script after 25 minutes. I plan on running a few things locally to take load off of my TCH site.

 

max_execution_time = 30 ; 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 = 8M ; Maximum amount of memory a script may consume (8MB)

 

Those are the current settings for things in the php.ini file that may be causing the problem.

 

If you know of a PHP command that let's the script run forever that would be great as well.

 

Thanks. :(

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...