Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- How to overwrite default php installation
- Anthony Smith
January 2, 2007, 9:35 pm
rate this thread
"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
php: /etc/php.ini /usr/bin/php /usr/local/bin/php /usr/local/lib/php
/usr/local/lib/php -v shows the new version but php -v shows the old
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