You are here: RE: [PHP] forking off in php « PHP « IT news, forums, messages
RE: [PHP] forking off in php

Posted by Jay Blanchard on 09/27/74 11:33

[snip]
hello,
I have what may seem like a small problem but its not obvious to me.
I have a script that I forked and that part works fine, it forks, tells me
the pid like I wanted, and keeps running. Well, the problem that was not
apparent to me until about 3 days ago when I was wondering why the
script(my php chat server) was crashing at seeminly random times. I
finally figured out that when I logged out of my shell in linux, the
talker would go down as well. Obviously I don't want that but what do I
need to add to the line when i start the script
thanks
matt
ps If it helps, I am running php 4.3.10 on slackware
[/snip]

It would have been nice to see your command line. Add '&' i.e.

/usr/local/bin/foo &

 

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

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