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(允許你用不同的協議串連和溝通不同的伺服器)。...