Re: [PHP] configuring the CLI version of PHP

2005-12-08 Thread jonathan
so the web server is running 5.0.4 and the cli version is running  
4.3.11.  Is there an easy way for me to switch the cli version to the  
web version without a recomplie?


-jonathan
On Dec 6, 2005, at 1:10 AM, Marco Kaiser wrote:


Hi Jonathan,

/usr/bin/php

/usr/include/php
/usr/lib/php

How would I know which version in which?



which php should tell where your phpcli binary are.
php -v should tell you which php version you are running.


--
Marco Kaiser


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



[PHP] configuring the CLI version of PHP

2005-12-06 Thread jonathan


I'm not a sysadmin so I'm sorry if this sounds like a dumb question:

I have a powerbook running 10.4 which has php installed correctly for  
the webserver. However, for the CLI version, it is 4.3.11. How best  
could I specify the correct version of php  for the CLI (either  
switching via configuration file or at runtime of the script)?


When I do  sudo find / -name php -print , I get the following:

/usr/bin/php
/usr/include/php
/usr/lib/php

How would I know which version in which?

-jon

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



Re: [PHP] configuring the CLI version of PHP

2005-12-06 Thread Marco Kaiser
Hi Jonathan,

/usr/bin/php
 /usr/include/php
 /usr/lib/php

 How would I know which version in which?


which php should tell where your phpcli binary are.
php -v should tell you which php version you are running.


--
Marco Kaiser