Posted by Anthony Smith on 01/02/07 21:35
On my linux system php seems to have been installed by default. When I
type:
"which php" it tells me /usr/bin/php
I installed php and it has put an executable in the /usr/local/bin/php
"which php" still says /usr/bin/php
"whereis php"
php: /etc/php.ini /usr/bin/php /usr/local/bin/php /usr/local/lib/php
/usr/local/lib/php.ini
/usr/local/lib/php -v shows the new version but php -v shows the old
version.
How can I correct this problem?
I want to run the command php -v and it shows the newest version.
I have already tried removing /etc/php.ini /usr/bin/php
[Back to original message]
|