You are here: Re: running an exec in the background, let page go on. « All PHP « IT news, forums, messages
Re: running an exec in the background, let page go on.

Posted by news@celticbear.com on 04/27/06 19:39

Sjoerd wrote:
> news@celticbear.com wrote:
> > exec("/var/www/html/services/ftp.sh $zipfile 2>&1 &", $output2,
> > $status);
> Why doesn't this work?

I have no idea, which is why I'm asking here. =)

> > As you can see I have the & to make it a background process, and
> > sending the stdoutput elsewhere.
> Try pcntl_fork().

Evidently that doesn't work when PHP is an Apache module, which is the
case for me. =/

Thanks for the reply! =)
-Liam

 

Navigation:

[Reply to this 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

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