nginx+mysql+php环境,访问的php页面报错
------
errID:2
errStr:mysql_connect(): Headers and client library minor version mismatch. Headers:50635 Library:50552
errFile:IWEB_PATH/db/driver/mysql_class.php
errLine:27
errTime:19-10-11 08:54:43
##出错时变量的值:##
array (
'dbinfo' =>
array (
'host' => 'localhost:3306',
'user' => 'root',
'passwd' => '123456',
'name' => 'iwebshop',
),
)
-------
根据网上的答案
查看系统的php版本
[root@ekihin bin]# ./php -i|grep Client
PHP Warning: Unknown: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Asia/Chongqing' for 'CST/8.0/no DST' instead in Unknown on line 0
Client API version => 5.5.52-MariaDB
Client statistics =>
Client API version => mysqlnd 5.0.8-dev - 20102224 - $Id: 731e5b87ba42146a687c29995d2dfd8b4e40b325 $
Soap Client => enabled
然后根据他们的方法试了一下 还是不行
请问要怎么解决这个问题