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 QuizGeneral 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.
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.
Ready 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
Details:
I want to install PHP 5.5, so I do next step:
When I use command:
I get next:
php5: Installed: 5.5.29+dfsg-1+deb.sury.org~precise+3 Candidate: 5.5.29+dfsg-1+deb.sury.org~precise+3 Version table: *** 5.5.29+dfsg-1+deb.sury.org~precise+3 0 500 http://ppa.launchpad.net/ondrej/php5/ubuntu/ precise/main amd64 Packages 100 /var/lib/dpkg/status 5.3.10-1ubuntu3.19 0 500 http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ precise-updates/main amd64 Packages 500 http://security.ubuntu.com/ubuntu/ precise-security/main amd64 Packages 5.3.10-1ubuntu3 0 500 http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ precise/main amd64 PackagesI check files by:
Also I find file
/home/bitnami/.bashrcwhere I see next PATH:So if I use command
/usr/bin/php -vI get my last version PHP 5.5:But if I use
php -vorphpinfoin my site get always old version PHP 5.4:How I can switch PHP version to 5.5? What I need to do? What I need to write in settings to enable PHP 5? or what need change in Apache settings?