【发布时间】:2013-11-14 13:58:46
【问题描述】:
我无法在基于 64 位 linuz 的系统上安装 php mongodb 驱动程序。
我已经按照php.net手动安装指南(因为pecl安装的是旧版驱动)
$ phpize
$ ./configure
$ make all
$ sudo make install
make all命令给出
/mongodb_master/php_mongo.c:89: error: ‘PHP_FE_END’ undeclared here (not in a function)
make: *** [php_mongo.lo] Error 1
我关注了PHP_FE_FUNCTION : C error when trying to enable extension,但没有成功。
【问题讨论】:
-
你的系统到底是什么?你不能使用某种存储库来安装它吗?
-
这个关于 serverfault 的问题可能是相关的:serverfault.com/questions/317463/…
-
@ZeWaren 我已经在我的问题中提到了上面的链接。服务器是
64 bit,安装了PHP Version 5.3.2-1ubuntu4.21