configuring the CLI version of PHP
| From: | jonathan | Date: | Tue, 06 Dec 2005 08:49:59 +0000 |
| Subject: | configuring the CLI version of PHP | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-226907@lists.php.net to get a copy of this message | ||
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