【问题标题】:How to install or enable mysqlnd in CentOS 6.6 [DirectAdmin]如何在 CentOS 6.6 中安装或启用 mysqlnd [DirectAdmin]
【发布时间】:2015-11-30 03:59:03
【问题描述】:

如何在CentOS 6.6和php 5.5中安装或启用mysqlnd

directadmin 安装在服务器中并且 yum 命令 不起作用。

我像这样使用 directAdmin CustomBuild。

--with-mysqli=mysqlnd \
--with-pdo-mysql=mysqlnd \
--with-mysql=mysqlnd \
--with-mysql-sock=/var/lib/mysql/mysql.sock \

但是在 ./build php n 之后什么也没发生。

请帮帮我。

【问题讨论】:

    标签: centos6 mysqlnd directadmin


    【解决方案1】:

    请你试试下面的命令。

    cd /usr/local/directadmin/custombuild
    mkdir -p custom/ap2
    cp -fp configure/ap2/configure.php5 custom/ap2/configure.php5
    
    Make changes to custom/ap2/configure.php5
    Add the following lines
    
    --with-mysqli=mysqlnd \
    --with-pdo-mysql=mysqlnd \
    --with-mysql=mysqlnd \
    --with-mysql-sock=/var/lib/mysql/mysql.sock \
    
    Then rebuild PHP via custombuild
    
    ./build php n
    

    【讨论】:

      猜你喜欢
      • 2015-04-13
      • 1970-01-01
      • 2015-10-17
      • 2019-02-11
      • 1970-01-01
      • 2015-08-01
      • 1970-01-01
      • 2016-10-11
      • 2016-02-26
      相关资源
      最近更新 更多