MongoDB PHP驱动程序无法安装Centos 6云服务器 [英] MongoDB PHP driver can't installed Centos 6 cloud server
问题描述
我已经在我的Centos 6云服务器中安装了MongoDB服务。现在我需要安装在我的服务器php-pecl-mongo-1.2.10-1.el6.remi.x86_64.rpm ...但它给出packages not found。任何人都可以解决这个问题?我的php版本是PHP 5.3.3。
I have installed MongoDB service in my Centos 6 cloud server. Now i need to install in my server php-pecl-mongo-1.2.10-1.el6.remi.x86_64.rpm... but it gives "packages not found". Can anyone fix this problem? My php version is PHP 5.3.3.
我使用putty来配置Centos 6服务器。我有管理员权限配置php.ini。
I am using putty for configuring Centos 6 server. I have admin privilege to configure php.ini.
推荐答案
您可以:
-
尝试安装没有特定版本的RPM的php-pecl-mongo
try RPM installing php-pecl-mongo without a specific version
指向特定的RPM网址安装,例如。使用 rpmfind.net => php-pecl-mongo
point to a specific RPM url for installation, eg. using rpmfind.net => php-pecl-mongo
使用 sudo pecl install mongo
http://www.php.net/manual/en/mongo.installation.php#mongo.installation.nixrel =nofollow> Unix安装说明
install using sudo pecl install mongo
per the Unix installation instructions
这篇关于MongoDB PHP驱动程序无法安装Centos 6云服务器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!