make fails trying to install mongo php driver on Centos 6

后端 未结 2 1015
生来不讨喜
生来不讨喜 2021-02-06 06:05

I\'ve tried two different ways to install the mongodb php driver.

  • Compiling it based on directions from http://andres.jaimes.net/876/setup-mongo-php-module-centos-
相关标签:
2条回答
  • 2021-02-06 07:05

    Looks like you don't have the headers installed for OpenSSL.

    Try yum install openssl-devel (or use sudo if not root) then recompile.

    0 讨论(0)
  • 2021-02-06 07:07

    For anyone the command yum install openssl-devel did not solve Installing PHP56 Mongo Driver in centos instance try to use/install these first

    sudo yum install php-pear
    
    sudo yum install php56-devel
    
    sudo yum install gcc
    
    sudo yum install openssl-devel
    
    sudo pecl install mongodb
    
    0 讨论(0)
提交回复
热议问题