Phil
Phil

Reputation: 758

PHP MySQL library differs from your MySQL server

I get that error on phpMyAdmin

"Your PHP MySQL library version 5.5.43 differs from your MySQL 
server version 5.6.19. This may cause unpredictable behavior."

On many forums I saw I had to reinstall it with apptitude, but I made a manual install, so I really don't know how to fix this.

I also compiled PHP, so maybe something is missing:

ubuntu 14.04.2, php 5.6.9, apache 2.4.7, mysql 5.6.19

Let me know if you need more info.

Upvotes: 0

Views: 863

Answers (1)

glend
glend

Reputation: 1622

Alone. Ubuntu, PHP and Apache cannot communicate with MySQL. You need to find the correct driver and manually tell PHP where it is and to load it. The downloads can be found here;

http://downloads.mysql.com/archives/c-php/

Then you must edit your php.ini file and add/uncomment a dynamic extension directive;

extension=modulename.extension

Though, this driver is no longer supported for more information see;

https://dev.mysql.com/doc/apis-php/en/apis-php-mysqlinfo.api.choosing.html

Upvotes: 1

Related Questions