Ubuntu pecl install pecl_http fail

前端 未结 6 1722
时光取名叫无心
时光取名叫无心 2020-12-17 10:16

I\'m trying to install this extension but it fails in the configuration phase. I\'m on ubuntu 12.04 and I have just installed these packages:

  • libcurl3-openssl-
6条回答
  •  青春惊慌失措
    2020-12-17 10:33

    You need to install php-raphf from your package manager.

    for me i installed the module using the following. In your case you should be able to switch out yum for apt-get.

    sudo yum install php-raphf
    sudo yum install php-propro
    sudo pecl install pecl_http
    

    The you will need to add extension = http.so to your php.ini file. But it looks like you have already done that.

    pecl does not actually install the .so file that you are looking for.

提交回复
热议问题