用--enable-embedded-mysqli和--with-mysqli编译PHP [英] Compiling PHP with --enable-embedded-mysqli and --with-mysqli

查看:1259
本文介绍了用--enable-embedded-mysqli和--with-mysqli编译PHP的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

两者之间有什么区别吗?我编译我的PHP 5.5.8与以下:

Is there some difference between the two? I compiled my PHP 5.5.8 with the following:

./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-pdo-mysql --with-gd --enable-embedded-mysqli --enable-zip --enable-mysqlnd --enable-cgi ...

我收到了:


调用未定义函数 mysqli_connect

call to undefined function mysqli_connect

查看 PHP docs ;我注意到命令实际上是

On looking at the PHP docs; I notice that the command is actually

--with-mysqli

但是我在bash的tab完成时遇到了 - enable-embedded-mysqli 选项,从来没有想过要进一步看。 - enable-embedded-mysqli 命令是做什么的?

But I was presented with the --enable-embedded-mysqli option on tab completion by bash and thus, never thought to look further. What does the --enable-embedded-mysqli command do then?

推荐答案

p> - enable-embedded-mysqli似乎可以激活 MySQL Embedded 支持,但没有很好的文档。

--enable-embedded-mysqli seem to activate MySQL Embedded support, but isn't very well documented.

这篇关于用--enable-embedded-mysqli和--with-mysqli编译PHP的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆