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.
LoginInterviews General Queries 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.
As an alternative to using Mac's native PHP install I reccommend homebrew. Unlike XAMPP you don't have to work within a restrictive shell, so you can keep PHP and other modules (PHPMyAdmin, Apache, etc.) updated to the latest versions.
Since you aren't messing around with Mac's flawed delicate system folders, you won't have to worry about dependency hell, either, or accidentally erasing files and folders. Homebrew won't let you upgrade anything without upgrading its dependents, and everything is contained within its own repositories, called cellars.
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
I was using XAMPP and decided to uninstall it and use MacOS' in-built apache and php modules. But while uninstalling XAMPP I deleted /usr/bin/php files and other PHP-CLI files accidentally. And I decided to install newest version of PHP (5.5.12) instead of rebuilding current version (5.4.24). Downloaded it and unzip. After this executed this command as mentioned at this guide.
When i check phpinfo() , it's still version 5.4.24 . This line from my httpd.conf
LoadModule php5_module libexec/apache2/libphp5.so/usr/libexec/apache2/libphp5.so coming from old version and i couldn't ind libphp5.so for new version. There is no libphp5.so file inside modules dir.
How can i use new PHP build with Apache ?
UPDATE
Results of php -v command .