Re: PHP in a commandline shell?

From: Date: Fri, 23 Sep 2005 14:44:57 +0000
Subject: Re: PHP in a commandline shell?
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-223076@lists.php.net to get a copy of this message
----- Original Message ----- From: "Jake Gardner" <gardner.jake@gmail.com> To: "Gustav Wiberg" <gustav@varupiraten.se> Cc: "PHP General" <php-general@lists.php.net> Sent: Friday, September 23, 2005 4:36 PM Subject: Re: [PHP] PHP in a commandline shell? That depends on several things, chief among which are:
          What version did you install?
          What options did you supply ./configure?
          **Did you delete your old install?**
The reason for that is because the difference between the CLI and CGI versions of PHP is the binary which is installed. However, while only one is installed, both are compiled (assuming you didnt supply certain configure options <pseudooption> --without-cli </pseudooption>. When I replaced the CGI version with CLI, I just overwrote the existing and INSTALLED php binary (the CGI one) with the CLI binary in your install folder. (Assuming you kept the old one) On 9/23/05, Gustav Wiberg <gustav@varupiraten.se> wrote:
Hi there! As I understand you MUST? recompile PHP for use with only commandlineshell instead of for example Apache (or any other webserver) 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/ -- 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! /G http://www.varupiraten.se/

« previous php.general (#223076) next »