error: Please reinstall the libcurl distribution,reinstalllibcurl

來源:互聯網
上載者:User

error: Please reinstall the libcurl distribution,reinstalllibcurl

執行php-5.3.10


--enable-mbstring --enable-ftp --enable-gd-native-ttf --with-openssl --enable-pcntl --enable-sockets --with-xmlrpc --enable-zip --enable-soap --without-pear --with-gettext --enable-session --with-mcrypt --with-curl

時異常資訊:


error: Please reinstall the libcurl distribution -
    easy.h should be in <curl-dir>/include/curl/


解決辦法:


yum install curl curl-devel


centos 60安裝php-5217報錯: 前提是mysql已經安裝,已經成功啟動OK

1、no mysql_config not found configure: error

2、你的配置
--with-mysql=/usr/local/mysql
--with-mysqli=/usr/local/mysql/bin/ mysql_config 查查這個地方,似乎有個空格
--with-mysql-sock=/tmp/mysql.sock

3、確認已經安裝mysql-devel
rpm -qa|grep mysql-devel
4、如果php5.3可以用mysqlnd (MySQL native driver for PHP)
--with-mysql=mysqlnd \
--with-mysqli=mysqlnd \
--with-pdo-mysql=mysqlnd
 
The requested resource could not be loaded libcurl returned the error: couldn't connect to host

所需要的資源無法裝載。libcurl反饋回錯誤:無法間接主機

curl.haxx.se/
libcurl_百度百科
libcurl主要功能就是用不同的協議串連和溝通不同的伺服器~也就是相當封裝了的sockPHP 支援libcurl(允許你用不同的協議串連和溝通不同的伺服器)。...
 

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.