【问题标题】:How to build mysqli lib?如何构建 mysqli 库?
【发布时间】:2020-02-06 05:41:04
【问题描述】:

如何创建配置 php 时将使用的 mysqli 库?

我知道我应该使用标志:--with-mysqli=/path/to/mysql_config。但是我的问题是如何构建 mysqli lib?它是mysql源的一部分吗?我想自己构建库。

 wget https://www.php.net/distributions/php-7.3.13.tar.gz
 tar xfz php-7.3.13.tar.gz --strip-components 1 -C .
 ./configure --with-mysqli=<where can I find this>

https://www.php.net/manual/en/mysqli.installation.php --with-mysqli=/path/to/mysql_config

【问题讨论】:

    标签: php mysql mysqli makefile configure


    【解决方案1】:

    这不是很明显,因为当它是包的一部分时,您需要指定路径。

    源代码位于: ./ext/mysqli 在 php tar 文件中

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2015-09-26
      • 2012-03-02
      • 1970-01-01
      • 1970-01-01
      • 2020-07-22
      • 2013-06-27
      • 2018-04-16
      • 1970-01-01
      相关资源
      最近更新 更多