Re: PHP in a commandline shell?
| From: | Gustav Wiberg | Date: | Fri, 23 Sep 2005 14:45:04 +0000 |
| Subject: | Re: PHP in a commandline shell? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-223077@lists.php.net to get a copy of this message | ||
----- 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:/G http://www.varupiraten.se/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.Is that true? Or is there any alternative if you only want to use PHP in "shell"-mode for testing... /G http://www.varupiraten.se/-- John C. Nichel ÜberGeek KegWorks.com 716.856.9675 john@kegworks.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.344 / Virus Database: 267.11.5/110 - Release Date: 2005-09-22 Thanx!