Re: PHP in a commandline shell?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux