用--enable-embedded-mysqli和--with-mysqli编译PHP [英] Compiling PHP with --enable-embedded-mysqli and --with-mysqli
问题描述
两者之间有什么区别吗?我编译我的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屋!