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.
Managed to fix the issue.
Using rpm -qa | grep php as suggested by reflexiv would only bring back:
php53-common-5.3.3-1.el5_7.6
As the only installed package. I removed this package, and then installed PHP with the following command:
yum install php53 php53-cli php53-common php53-gd php53-imap php53-intl php53-mbstring php53-mysql php53-odbc php53-pdo php53-pspell php53-snmp php53-xml php53-xmlrpc php-devel
Installing this didn't bring up any errors. I restarted Apache and tested the server with the Symfony2 installation and phpinfo();. Both of them worked and the server is now ready to fly!
Thanks to reflexiv for the help.
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 have an interesting, albeit infuriating problem with CentOS.
I'm trying to configure this server to run a Symfony2 website I've built. The website doesn't work, and I've pinned down the problem to some of the PHP packages on the server being 5.1, and some of the newer packages are PHP 5.3. (Symfony2 requires PHP 5.3 to run).
I use the following command:
And I get this error:
Although it does say it's installed.
Anyway, I go to use
yum info phpand it tells me that the PHP version installed on the server is still 5.1.6. I go to useyum remove php, thinking if I remove all traces of the old PHP install I can install 5.3 afresh, I get the following error:What am I doing wrong?