You are here: Re: Run PHP-Script in Background « PHP Programming Language « IT news, forums, messages
Re: Run PHP-Script in Background

Posted by David on 11/08/23 11:26

Do you want to run the script as an INDEPENDENT process or start from
the web app and wait for the results?

If this is independent, maybe write the request in .net and update a
database?

You could also write a service on the machine to look for requests and
then process them.



On 11 Sep 2005 10:20:27 -0700, "Thomas" <tj@3sweb.net> wrote:

>I am using php 5.0.4 under IIS 6 under Windows Server 2003 and want to
>run a php-script as a separate process. This schript dies not have any
>output. I tried several variants without success:
>
>exec("c/php5/php.exe path/to/script parameters &") will run the schript
>but will wait until the schript finished processing.
>
>exec("c/php5/php.exe path/to/script parameters > null &") gives me the
>error message "The specified CGI application exceeded the allowed time
>for processing. The server has deleted the process."
>
>Dealing with other variants of php cli procesors like php-win.exe gave
>the same result. Also trying to use the start command did not help. My
>head is burned out, what else could run my script under this
>environment?
>
>Thanks for any ideas.
>
>Thomas

 

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

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