Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #4899
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!news.mixmin.net!news2.arglkargh.de!news.karotte.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail |
|---|---|
| From | "J.O. Aho" <user@example.net> |
| Newsgroups | comp.lang.php |
| Subject | Re: Do I still CLI version of PHP |
| Date | Sun, 19 Feb 2012 10:05:44 +0100 |
| Lines | 18 |
| Message-ID | <9qbsb8FpmvU1@mid.individual.net> (permalink) |
| References | <jhq7fr$8om$1@news.albasani.net> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=UTF-8; format=flowed |
| Content-Transfer-Encoding | 7bit |
| X-Trace | individual.net cydafri/meQ2L9eLS+Y+agjusKDB9AodhRrHIUvQ2Z+JRDZQSJ |
| Cancel-Lock | sha1:sfrLEcFiji6P1WvedI8j0tmlvf4= |
| User-Agent | Mozilla/5.0 (X11; Linux x86_64; rv:10.0.1) Gecko/20120217 Firefox/10.0.1 SeaMonkey/2.7.1 |
| In-Reply-To | <jhq7fr$8om$1@news.albasani.net> |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.php:4899 |
Show key headers only | View raw
sl@exabyte wrote: > 1. Do still need the line '#!/usr/local/bin/php -q' is I call the file via > http, eg http://domain/server_socket.php, because the program is looping ? No, as the web service will be calling the php interpreter, but as soon as you leave the "page" with your browser the script will die. > 2. If the answer to Q1is yes, how do I run my server program (I think the > version on my server is CGI) ? You need to have shell access and run the script in background or in a screen (or rewrite it so it can be run as a daemon). -- //Aho
Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Do I still CLI version of PHP "sl@exabyte" <sb5309@hotmail.com> - 2012-02-19 15:13 +0800 Re: Do I still CLI version of PHP "J.O. Aho" <user@example.net> - 2012-02-19 10:05 +0100 Re: Do I still CLI version of PHP "M. Strobel" <sorry_no_mail_here@nowhere.dee> - 2012-02-19 13:26 +0100
csiph-web