日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程语言 > php >内容正文

php

php 集合安装,centos7安装php5.6报错集合

發布時間:2024/8/1 php 27 豆豆
生活随笔 收集整理的這篇文章主要介紹了 php 集合安装,centos7安装php5.6报错集合 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

錯誤1:Cannot find OpenSSL‘s

解決:yum install openssl openssl-devel

ln -s /usr/lib64/libssl.so /usr/lib/

錯誤2:configure: error: xml2-config not found. Please check your libxml2 installation.

解決:libxml2已經安裝,還報這個錯誤,還需要安裝libxml2-devel

錯誤3:error: Please reinstall the BZip2 distribution

解決:yum -y install bzip2-devel

錯誤4:checking for cURL in default path... not found

解決:yum -y install curl-devel

5:configure: error: jpeglib.h not found.

:yum -y install libjpeg-devel

6:configure: error: png.h not found.

:yum -y install libpng-devel

7:Configure: error: freetype.h not found.

:yum install freetype-devel

8:configure: error: Unable to locate gmp.h

:yum -y install gmp-devel

9:configure: error: mcrypt.h not found. Please reinstall libmcrypt.

tar zxflibmcrypt-2.5.8.tar.gz

cdlibmcrypt-2.5.8

./configure

make && make install

10:configure: error: Don‘t know how to define struct flock on this system, set --enable-opcache=no

:編輯 /etc/ld.so.conf 加入/usr/local/lib,在執行ldconfig。

這個比較麻煩,參考http://www.68idc.cn/help/jiabenmake/qita/2014022169481.html

11:configure: error: Please reinstall readline - I cannot find readline.h

:yum -y install readline-devel

12:configure: error: xslt-config not found. Please reinstall the libxslt >= 1.1.0 distribution

:yum -y install libxslt-devel

13.configure: error: Please reinstall the libcurl distribution -

easy.h should be in /include/curl/

安裝curl-devel

14、mcrypt.h not found. Please reinstall libmcrypt

libmcrypt-2.5.8

15、Don‘t know how to define struct flock on this system, set --enable-opcache=no

vim /etc/ld.so.conf.d/local.conf(vi etc/ld.so.conf) # 編輯庫文件(該文件可能不存在,不存在則創建一個新的)

/usr/local/lib # 添加該行

/usr/local/lib64 # 64位系統的除了添加上一行,還需要添加此行

:wq # 保存退出

ldconfig -v # 使之生效

16、Please reinstall readline - I cannot find readline.h

安裝readline-devel

17、WARNING: unrecognized options: --enable-bz2

刪了--enable-bz2

原文:http://blog.51cto.com/13757802/2132666

總結

以上是生活随笔為你收集整理的php 集合安装,centos7安装php5.6报错集合的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。