Re: Try to find a solution, when restart Apache with PHP Script
| From: | Jim Lucas | Date: | Mon, 17 Sep 2007 16:47:09 +0000 |
| Subject: | Re: Try to find a solution, when restart Apache with PHP Script | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-262168@lists.php.net to get a copy of this message | ||
Rodolfo De Nadai wrote:
Jim, i've already look for pcntl... but the support server guys, tell me that they can't install php modules that are not pre-compiled... so, pcntl is not an alternative...Bummer, get new support server guys... no, but really....
I think you are right... i have to make this script a daemon... but how can i do that with php??... the problem is that this daemon should be started in web interface... see the problem...???Well, both windows and *nix have ways of running different apps as a daemon. I actually wrote a little daemon that listens for UDP connections on a given port and takes care of all incoming connections. What do you mean "should be started in web interface" ? Does this mean that it should only be running when you connect to it with a web browser?
thanksnp -- Jim Lucas "Some men are born to greatness, some achieve greatness, and some have greatness thrust upon them." Twelfth Night, Act II, Scene V by William Shakespeare