MongoDB PHP driver can't installed Centos 6 cloud server

无人久伴 提交于 2020-01-07 03:24:07

问题


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.

I am using putty for configuring Centos 6 server. I have admin privilege to configure php.ini.


回答1:


You could:

  • try RPM installing php-pecl-mongo without a specific version

  • point to a specific RPM url for installation, eg. using rpmfind.net => php-pecl-mongo

  • install using sudo pecl install mongo per the Unix installation instructions



来源:https://stackoverflow.com/questions/11771429/mongodb-php-driver-cant-installed-centos-6-cloud-server

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!