84669 person learning
152542 person learning
20005 person learning
5487 person learning
7821 person learning
359900 person learning
3350 person learning
180660 person learning
48569 person learning
18603 person learning
40936 person learning
1549 person learning
1183 person learning
32909 person learning
但在编译php时,对以下几个参数很是不解:
--with-mysql=mysql客户端连接库
--with-mysqli=mysql客户端连接库
--with-pdo-mysql=mysql客户端连接库 --with-mysql 的作用是什么? 如果编译的时候不使用--with-mysql等等有什么弊端? 还有如果web服务器没装mysql服务那这个编译配置岂不是很没用? 可否用 --enable-mysql等等这样的替代
闭关修行中......
--with-mysql是MYSQL连接扩展 (面向过程) --with-mysqli也是MYSQL连接扩展 (面向过程和面向对象) --with-pdo-mysql还是MYSQL连接扩展,基于PDO (纯面向对象) 第一种已经快废弃了。
这些都是连接用的,和MYSQL安不安装没有关系,只和你用不用mysql有关啦
如果编译环境中没装mysql 可以使用 --with-mysql=mysqlnd ./configure --help 慢慢看
--with-mysql是MYSQL连接扩展 (面向过程)
--with-mysqli也是MYSQL连接扩展 (面向过程和面向对象)
--with-pdo-mysql还是MYSQL连接扩展,基于PDO (纯面向对象)
第一种已经快废弃了。
这些都是连接用的,和MYSQL安不安装没有关系,只和你用不用mysql有关啦
如果编译环境中没装mysql 可以使用 --with-mysql=mysqlnd
./configure --help 慢慢看