Re: PHP in a commandline shell?
| From: | John Nichel | Date: | Fri, 23 Sep 2005 14:49:39 +0000 |
| Subject: | Re: PHP in a commandline shell? | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-223079@lists.php.net to get a copy of this message | ||
Gustav Wiberg wrote:
----- Original Message ----- From: "John Nichel" <john@kegworks.com> To: "PHP General" <php-general@lists.php.net> Sent: Friday, September 23, 2005 4:34 PM Subject: Re: [PHP] PHP in a commandline shell?Gustav Wiberg wrote:Hi there! As I understand you MUST? recompile PHP for use with only commandlineshell instead of for example Apache (or any other webserver)Depends on your version of php, and how it was installed. PHP versions 4.2.x you had to turn it _on_ when configuring. 4.3.x, you had to turn it _off_. PHP versions older than 4.2.0 there was the CGI API which you could use on the command line.
Thanx!At the command line, do a 'which php' -- John C. Nichel ÜberGeek KegWorks.com 716.856.9675 john@kegworks.com