Embark on a journey of knowledge! Take the quiz and earn valuable credits.
Take A QuizChallenge yourself and boost your learning! Start the quiz now to earn credits.
Take A QuizUnlock your potential! Begin the quiz, answer questions, and accumulate credits along the way.
Take A QuizKindly log in to use this feature. We’ll take you to the login page automatically.
LoginGeneral Tech Bugs & Fixes 3 years ago
User submissions are the sole responsibility of contributors, with TuteeHUB disclaiming liability for accuracy, copyrights, or consequences of use; content is for informational purposes only and not professional advice.
When you used which php the reply was,
/usr/local/bin/php
It existence within /usr/local indicates your PHP was not installed using a package provided by your OS but it was installed manually either by compiling it yourself or by some third party installer.
Thus in order to remove it you'll need to follow the instructions provided with where-ever you originally got it from.
If you simply want to stop the php command on the command line from calling up that installation of PHP you can rename that single file, /usr/local/bin/php to something like /usr/local/bin/php-54or something. This will stop the name clash with any other PHP version you install from an OS package, but it doesn't uninstall the rest of that PHP installation.
The rule with /usr/local is that is a specific area for system-wide software you can install yourself where you are responsible for installation and removal of software, as it is not managed by your OS.
No matter what stage you're at in your education or career, TuteeHUB will help you reach the next level that you're aiming for. Simply,Choose a subject/topic and get started in self-paced practice sessions to improve your knowledge and scores.
Kindly log in to use this feature. We’ll take you to the login page automatically.
LoginReady to take your education and career to the next level? Register today and join our growing community of learners and professionals.
Your experience on this site will be improved by allowing cookies. Read Cookie Policy
Your experience on this site will be improved by allowing cookies. Read Cookie Policy
manpreet
Best Answer
3 years ago
Despite not installing php5.4, it seems to be the version. Now, Although I delete all php packages on the computer, it still looks the same(5.4).
But I don't want to use PHP 5.4. How can delete php5.4 ?