编译php出现错误: configure: error: Please reinstall the libcurl distribution - easy.h should be in <curl-dir>/include/curl/ 解决方法: # yum install -y libcurl-devel…
运行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 r…
今天配置一台server的php支持curl的时候, 出现如下报错 checking for cURL in default path... not foundconfigure: error: Please reinstall the libcurl distribution -easy.h should be in /include/curl/ 其实就是curl的dev包没有安装, 解决方案:终端下 # yum -y install curl-devel 可以…
configure: error: Please reinstall the libcurl distribution - easy.h should be in /include/curl/ 基本上确定是丢失了什么包所致,上网搜索得到需要事先安装的依赖包. # RetHat CentOS or Fedora 使用下面安装命令 yum install curl curl-devel # Debian or Ubuntu使用下面的安装命令 apt-get install curl apt-get…
编译环境 centos7 php 5.4.26 $ yum install libXpm-devel 显示已安装 百度得知 ubuntu虚拟机安装lamp遇到的问题 configure: error: libXpm.(a|so) not found.不是你缺少东西了,输入如下命令帮编译程序找到相关文件! 64位的OS cd /usr/lib/ln -s /usr/lib/x86_64-linux-gnu/libXpm.aln -s /usr/lib/x86_64-linux-gnu/libXpm…
centos 6.8 32位系统下,安装php.5.6.11是出现这个错误 解决办法: 1 2 3 4 vim /etc/ld.so.conf.d/local.conf     # 编辑库文件 /usr/local/lib                       # 添加该行 :wq                                  # 保存退出 ldconfig -v                          # 使之生效 注意事项: 这里添加的库文件路径一定要和你…
今天配置一台server的php支持curl的时候, 出现如下报错 checking for cURL in default path... not foundconfigure: error: Please reinstall the libcurl distribution -easy.h should be in /include/curl/ 其实就是curl的dev包没有安装, 解决方案:终端下 # yum -y install curl-devel 然后就可以继续了…
编译PHP报错configure error Cannot find libmysqlclient under usr的解决方法 (问题产生,mysql是yum安装的,libmysqlclient* 一般存放在 /usr/lib64/mysql/) find / -name "libmysqlclient" \cp /usr/lib64/mysql/libmysqlclient* /usrl/lib/ ./configure --prefix=/usr/local/php56 --wi…