Speak now
Please Wait Image Converting Into Text...
Embark on a journey of knowledge! Take the quiz and earn valuable credits.
Challenge yourself and boost your learning! Start the quiz now to earn credits.
Unlock your potential! Begin the quiz, answer questions, and accumulate credits along the way.
General 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.
Turn Your Knowledge into Earnings.
I recently upgraded from PHP 5.3.4 to PHP 5.4.4, and now I want to downgrade. I removed all the packages through apt-get remove php5 after removing the repository, and then ran apt-get install php5 but still, Apache can't start now and the error log shows:
apt-get remove php5
apt-get install php5
[Thu Aug 23 19:01:10 2012] [notice] Apache/2.2.17 (Ubuntu) PHP/5.4.4-4~natty+1 configured -- resuming normal operations
I even ran this to make sure there is no more 5.4.4:
root@server:~# apt-cache policy php5 php5: Installed: 5.3.5-1ubuntu7.10 Candidate: 5.3.5-1ubuntu7.10 Version table: *** 5.3.5-1ubuntu7.10 0 500 http://us.archive.ubuntu.com/ubuntu/ natty-updates/main i386 Packages 500 http://security.ubuntu.com/ubuntu/ natty-security/main i386 Packages 100 /var/lib/dpkg/status 5.3.5-1ubuntu7 0 500 http://us.archive.ubuntu.com/ubuntu/ natty/main i386 Packages
How do I fix this?
when you did apt-get remove php5 you have just removed the meta-package.
To list all php5 packages you have installed you need to do: dpkg -l '*php5*' and then remove all installed, or just do apt-get remove php5-common, which will remove "base" package which is the dependency of all other php5 packages in the dependency chain and thus remove all installed php5 packages.
dpkg -l '*php5*'
apt-get remove php5-common
Cheers, Ondrej
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.
General Tech 9 Answers
General Tech 7 Answers
General Tech 3 Answers
General Tech 2 Answers
Ready to take your education and career to the next level? Register today and join our growing community of learners and professionals.