MediaTemple (전용 가상/CentOS Linux)에 새로운 서버를 설치하고 개발자 도구를 설치했지만 Mongo가 아이디어를 설치하지 않습니까?MongoDB 설치 오류
또한 버전 1.2.10을 DL하려고 시도 중입니다. 일단 2.0.6으로 이동하려면 pecl upgrade mongo
을 설치하면됩니다. 여기 당신이 MongoDB를위한 PHP 드라이버를 설치하고,
[root ~]# pecl install mongo
downloading mongo-1.2.10.tgz ...
Starting to download mongo-1.2.10.tgz (86,463 bytes)
.....................done: 86,463 bytes
36 source files, building
running: phpize
Configuring for:
PHP Api Version: 20041225
Zend Module Api No: 20060613
Zend Extension Api No: 220060519
building in /var/tmp/pear-build-root/mongo-1.2.10
running: /root/tmp/pear/cache/mongo-1.2.10/configure
checking for egrep... grep -E
checking for a sed that does not truncate output... //bin/sed
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.
ERROR: `/root/tmp/pear/cache/mongo-1.2.10/configure' failed