PHP mysql 返回数据为字符串类型
PHP mysql 返回数据为字符串类型
用 php-mysqlnd 扩展 替换 php56w-mysql 解决
yum list|grep php-mysqlnd
544 yum list|grep php
545 php -i
546 yum list|grep php56
547 yum install php56w-mysqlnd.x86_64
548 php -m
549 yum list installed | grep php
550 yum -y remove php56w-mysql.x86_64
551 yum install php56w-mysqlnd.x86_64
552 service php-fpm restart
553 php -i
554 php -m
555 yum list installed | grep php
556 yum -y remove php56w-mysqlnd.x86_64
557 yum install php56w-mysql.x86_64
558 service php-fpm restart