----- Original Message -----
From: "Jake Gardner" <gardner.jake@xxxxxxxxx>
To: "Gustav Wiberg" <gustav@xxxxxxxxxxxxxx>
Cc: "PHP General" <php-general@xxxxxxxxxxxxx>
Sent: Friday, September 23, 2005 4:36 PM
Subject: Re: 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@xxxxxxxxxxxxxx> 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/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php