摘自:http://blog.csdn.net/dragon8299/article/details/6273295

 

 

如何安装mysqlnd

LINUX环境中,默认情况下,php中的mysql扩展还是会使用libmysql的。
如果要使用mysqlnd,就要加一个configure的参数:

./configure --with-mysql=mysqlnd /

--with-mysqli=mysqlnd /

--with-pdo-mysql=mysqlnd /
 
 
安装php5.3:
 
./configure --prefix=/home/xxx/local/php-5.3.6 --enable-mbstring --with-zlib --enable-sockets --with-apxs2=/home/xxx/local/apache-2.2.21/bin/apxs --with-mysql=mysqlnd --with-mysqli=mysqlnd --with-pdo-mysql=mysqlnd
 

相关文章:

  • 2021-11-19
  • 2021-10-24
  • 2021-06-24
  • 2021-08-02
  • 2022-12-23
  • 2021-09-19
  • 2022-02-11
  • 2021-07-20
猜你喜欢
  • 2021-09-30
  • 2021-08-21
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案