Comments - Installation Issues with PHP5

12 years, 4 months ago Ian Douglas

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.

Thanks, Ian

 
12 years, 4 months ago Brian Evans

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.

 
12 years, 3 months ago Ian Douglas

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?

Thanks :-)

 
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.