Erm ...

John Seth johnseth at phoenixwing.com
Tue Aug 12 17:05:00 EDT 2003


if you type "php -v" via the command line it will always be the CLI
version.  When you compile, you compile one of two ways:  Web with CGI,
or Web with CLI.  I prefer CLI 'cuz then I can use it via command line
(similar to #!/bin/bash, but #!/usr/bin/php) or web using <? ?> tags. 
Both ways work.

-- 
<? print(pack("c*", 74,117,115,116,32,/* Tony Evans                  */
 65,110,111,116,104,101,114,32,80,72, /* Linux/Web Implementation    */
 80,32,72,97,99,107,101,114,46,10));  /* http://www.phoenixwing.com/ */ ?>


>> >> [root at localhost doc]# php -v
>> >> > >> PHP 4.3.1 (cli) (built: Feb 17 2003 14:34:15)
>
> Seems like he's runnin the CLI ^_~
>
> Con
>
>




More information about the nflug mailing list