Reply to Re: exec() Silent Death

Your name:

Reply:


Posted by J.O. Aho on 05/06/07 16:20

ashore wrote:
> Hey, thanks. I added a sleep(25) call, same results. ????

In your php.ini you have a max_execution_time setting, by default php will be
run in 30 sec, if it takes longer the script will be terminated. Using sleep()
will just make your script will have time to do even less.

You need to extend the max_execution_time or make the exec() to start the CLI
program in the background (I guess that DOS that microsoft bought once in the
time don't support to start things in the background, so this option is out of
question).

--

//Aho

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация