64位机器安装mongo-php-driver问题及解决办法
linux-dash
A beautiful web dashboard for Linux
项目地址:https://gitcode.com/gh_mirrors/li/linux-dash
免费下载资源
·
64位linux安装mongo-php-driver后重启php时会出现以下错误:
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/php-5.3/extensions/mongo.so' - /usr/local/php-5.3/extensions/mongo.so: undefined symbol: zend_new_interned_string in Unknown on line 0
原因是因为:命令行PHP是32位的,所以它不能加载64位扩展,具体参考:http://www.mongodb.org/pages/viewpage.action?pageId=1474756
解决办法是在安装mongo-php-driver时配置如下参数:
./configure --enable-64 --with-php-config=/usr/local/php-5.3/bin/php-config
GitHub 加速计划 / li / linux-dash
10.39 K
1.2 K
下载
A beautiful web dashboard for Linux
最近提交(Master分支:2 个月前 )
186a802e
added ecosystem file for PM2 4 年前
5def40a3
Add host customization support for the NodeJS version 4 年前
更多推荐
已为社区贡献3条内容
所有评论(0)