LNMP安装报错解决方案

configure: error: no acceptable cc found in $PATH

解决方案:yum install -y gcc

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

解决方案:yum install -y libxml2-devel

configure: error: Cannot find OpenSSL‘s <evp.h>

解决方案:yum install -y openssl-devel

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

解决方案:yum install -y curl-devel

configure: error: jpeglib.h not found

解决方案:yum install -y libjpeg-turbo-devel

或者yum install -y libjpeg-devel

configure: error: png.h not found.

解决方案:yum install -y libpng-devel

configure: error: freetype.h not found.

解决方案:yum install -y freetype-devel

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

解决方案:yum install -y libmcrypt-devel

要是不能用yun安装的话 ,就要去下载个gz包自己编译安装

解决方案:cd /usr/local/src/

wget ftp://mcrypt.hellug.gr/pub/crypto/mcrypt/attic/libmcrypt/libmcrypt-2.5.7.tar.gz

tar -zxvf libmcrypt-2.5.7.tar.gz

cd libmcrypt-2.5.7

mkdir -p /usr/local/libmcrypt

./configure prefix=/usr/local/libmcrypt/

make

make install

然后再编译PHP时将--with-mcrypt改为

--with-mcrypt=/usr/local/libmcrypt/

#########################################################################################

编译make

/usr/bin/ld: cannot find -lltdl

collect2: ld returned 1 exit status

make: *** [sapi/fpm/php-fpm] 错误 1

解决方案:yum install -y libtool-ltdl-devel

#########################################################################################

nginx编译报错

./configure: error: the HTTP rewrite module requires the PCRE library.

解决方案:yum -y install pcre-devel

LNMP安装报错解决方案

时间: 2024-10-14 12:49:38

LNMP安装报错解决方案的相关文章

安装opesntack mysql报错 解决方案

安装opesntack mysql报错 ERROR : Error appeared during Puppet run: 192.168.1.103_mysql.ppError: mysqladmin -u root  password 'f40e1dec1deb43d3' returned 1 instead of one of [0] # rpm -qa | grep -i mysqlmysql-server-5.1.71-1.el6.x86_64perl-DBD-MySQL-4.013-

解决SCCM 2016客户端安装报错一例

解决SCCM 2016客户端安装报错一例 使用SCCM 2016推送SCCM Client时遇到如下问题: 以下是客户端计算机的Log: GetHttpRequestObjects failed for verb: 'CCM_POST', url: 'HTTPS://YAN-CM-CM.CONTOSO.COM/ccm_system/request' ccmsetup 2017/3/23 16:58:11 1672 (0x0688) GetDPLocations failed with error

RabbitMQ&gt;Erlang machine stopped instantly (distribution name conflict?). The service is not restarted as OnFail is set to ignore.-报错解决方案 原来是NNND。。。

>Erlang machine stopped instantly (distribution name conflict?). The service is not restarted as OnFail is set to ignore. -报错解决方案 原来是NNND... RabbitMQ安装的盘符的名字是中文字符 切记:RabbitMQ安装路径不能出现中文字符

Xcode - xcode-select: error: tool &#39;xcodebuild&#39; requires Xcode报错解决方案

用mac 自带的终端执行的命令,安装安装Vapor和toolbox 安装指令: macdeMacBook-Pro:~ mac$ curl -sL check.vapor.sh| bash 结果报这个错误: xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools

关于Elipse安装报错Unfortunately the Java version needed to run Eclipse Installer couldn&#39;t be found on your system. You need the following version or a higher version问题

问题:本人因为重装了系统导致重新安装Elipse,在安装了当前最新版本JDK(JDK13)后,发现Eclipse安装程序出错,错误如下: 即JDK没有安装或者版本过低,这明显在扯淡,java安装测试如下: JDK和Eclipse均为64位 本人猜测原因: 1.版本不一致,即Eclipse或JDK版本过高 2.重装系统原因 解决方案: 1.直接下载zip(包)文件 解压,即可运行 2.重装系统 注意: 下载Elipse时记得把镜像选为国内的 关于Elipse安装报错Unfortunately th

Cannot find module &#39;react-dev-utils/crossSpawn&#39; 报错解决方案

在安装 react-app-rewired 并且进行了一些相关配置后,发现如果运行就会报 Cannot find module 'react-dev-utils/crossSpawn' 错误,这时候按网上说的删除了node_modules发现还是报错, 这时候删除了package-local.json文件+node_modules文件夹后,重新npm install 发现可以运行了,问题解决 Cannot find module 'react-dev-utils/crossSpawn' 报错解决

MSSQL 2012安装报错之0x858C001B

之前安装 Microsoft Sql Server 2012 R2 的时候总是报这样的错误: SQL Server Setup has encountered the following error: The SQL Server license agreement cannot be located for the selected edition, enterprise. This could be a result of corrupted media or the edition bei

mysql安装报错

如果编译时出现了以下错误:checking for tgetent in -ltermcap- nochecking for termcap functions library- configure: error: No curses/termcap library found说明 curses/termcap 库没有安装去下载一个ncurses-5.6.tar.gz,wget http://ftp.gnu.org/pub/gnu/ncurses/ncurses-5.6.tar.gztar zx

rlwrap安装报错You need the GNU readline 解决方法

首先大家肯定知道rlwrap是干什么的? 在linux以及unix中,sqlplus的上下左右.回退无法使用,会出现乱码情况.而rlwrap这个软件就是用来解决这个的. 这个错误曾经困扰我很久很久!下载readline 安装,安装好readline 还是无法运行rlwrap的安装程序 在网上搜寻很久才找到一个靠谱的解决方法 原来rlwrap这个程序的安装,需要依赖两个包, 一个是readline,这个readline在RHEL中已经集成了.不需要去专门下载 另外一个包 libtermcap-de