You are here: Re: [PHP] PHP in a commandline shell? « PHP « IT news, forums, messages
Re: [PHP] PHP in a commandline shell?

Posted by "Gustav Wiberg" on 10/10/97 11:27

----- 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/

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация