Comments - Installation Issues with PHP5
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.
Look at that. So simple. Worked like a champ. Thanks so much. Alan
Excuse my ugnorance (new to CentOS, familiar with Gentoo), but what exactly do I need to reinstall?
I tried yum reinstall php php-cli php-mysql php-gd
but am still getting the 'minor version mismatch' error when running php scripts from the command line.
My previous comment was specifically directed to asawyer13.
If you are getting minor version mismatch, you must follow one of the recommendations in the answer.
With CentOS, you would need to recompile the php-mysql SRPM using rpmbuild or its yum equivalent.
Finding a CentOS RPM of PHP 5.3.x should also remove this issue as it should use mysqlnd driver.
Thanks, I was trying to do Option 3, but obviously not succeeding. I see in the ngingx error log there are also plenty of this mismatch messages.
Can you perhaps point out where I went wrong with the command I used?