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 QuizPlease log in to access this content. You will be redirected to the login page shortly.
LoginGeneral Tech Bugs & Fixes 2 years ago
Posted on 16 Aug 2022, this text provides information on Bugs & Fixes related to General Tech. Please note that while accuracy is prioritized, the data presented might not be entirely correct or up-to-date. This information is offered for general knowledge and informational purposes only, and should not be considered as a substitute for professional advice.
I found out that I have the following files inside /etc/apache2/mods-available/
php5.6.conf
php5.6.load
php5.conf
php5.load
php5filter.conf
php5filter.load
php7.0.conf
php7.0.load
so what I did is the following
sudo a2dismod php5.load
and then
sudo a2enmod php5.6.load
that switched the version the apache was using to 5.6 and voila problem solved : )
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.
Please log in to access this content. You will be redirected to the login page shortly.
LoginReady to take your education and career to the next level? Register today and join our growing community of learners and professionals.
manpreet
Best Answer
2 years ago
I am trying to upgrade my PHP version from 5.5 to 5.6 so I can get Laravel working. So I followed the instructions from here but instead of adding this repository:
I added this:
anything else didn't work. Afterwards I installed PHP and to test the version I did this:
which gave me this:
however when I navigate to the server in my browser phpinfo() showed this:
Why is that happening, why isn't Apache loading the new version?
Also, in my /etc folder I have two php folders one is: /etc/php5 (which I think contains php5.5) and another called: /etc/php (which I think contains php5.6).