我想安装mongo驱动程序管理器,如http://php.net/manual/en/mongodb.installation.pecl.php
所示Mongo已经在运行了。 pecl在我的实例中不存在。你可以找到我的phpinfo here
请指导我完成必要的步骤。
修改
我已经安装了pecl ,,现在我想我必须安装php-devel但是我收到以下错误
Error: httpd24-tools conflicts with httpd-tools-2.2.31-1.8.amzn1.x86_64
Error: php56-cli conflicts with php-cli-5.3.29-1.8.amzn1.x86_64
Error: httpd24 conflicts with httpd-2.2.31-1.8.amzn1.x86_64
Error: php56-common conflicts with php-common-5.3.29-1.8.amzn1.x86_64
Error: php56 conflicts with php-5.3.29-1.8.amzn1.x86_64
答案 0 :(得分:0)
能够使用php-5.6 ec2
中的以下命令列表安装peclsudo yum install php-pear
sudo yum install php56-devel
sudo yum install gcc
sudo yum install openssl-devel
sudo pecl install mongodb