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

Posted by Jake Gardner on 09/30/12 11:27

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

 

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

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