安装php7.2+nginx1.14.2常见报错解决方法
1.PHP
configure: error: Cannot find OpenSSL's
# yum -y install openssl openssl-deve
checking for cURL 7.10.5 or greater... configure: error: cURL version 7.10.5 or later is required to compile php with cURL support
# yum -y install curl-devel
configure: error: jpeglib.h not found.
# yum -y install libjpeg-devel
configure: error: Unable to locate gmp.h
yum install gmp-devel
configure: error: Cannot find ldap.h
yum -y install openldap openldap-devel
configure: error: Please reinstall readline - I cannot find readline.h
yum -y install readline-devel
configure: error: png.h not found.
# yum -y install libpng-devel
configure: error: freetype-config not found.
# yum -y install freetype-devel
2. Nginx
./configure: error: the HTTP rewrite module requires the PCRE library.
# yum -y install pcre-devel
./configure: error: SSL modules require the OpenSSL library.
# yum -y install openssl openssl-deve
./configure: error: the HTTP XSLT module requires the libxml2/libxslt
yum -y install libxslt-devel
./configure: error: the HTTP image filter module requires the GD library.
# yum -y install gd-devel
./configure: error: the GeoIP module requires the GeoIP library.
# yum -y install GeoIP-devel
nginx: [emerg] getpwnam("nginx") fAIled
# useradd -s /sbin/nologin -M nginx
nginx: [emerg] mkdir() "/var/lib/nginx/tmp/client_body" failed (2: No such file or directory)
# mkdir /var/lib/nginx/tmp -p
栏 目:其它服务器
下一篇:CentOS 7升级PHP5.4.2到PHP7.2版本的简单方法
本文标题:安装php7.2+nginx1.14.2常见报错解决方法
本文地址:https://zz.feitang.co/server/36561.html
您可能感兴趣的文章
- 02-02hadoop动态增加和删除节点方法介绍
- 02-02干货 | Linux新手入门好书推荐
- 02-02linux系统下MongoDB单节点安装教程
- 02-02Linux下nginx生成日志自动切割的实现方法
- 02-02Centos 6中编译配置httpd2.4的多种方法详解
- 02-02CentOS7 下安装telnet服务的实现方法
- 02-02分布式Hibernate search详解
- 02-02Hadoop对文本文件的快速全局排序实现方法及分析
- 02-02CentOS6.3添加nginx系统服务的实例详解
- 02-02Hadoop编程基于MR程序实现倒排索引示例


阅读排行
推荐教程
- 12-07一文教你怎么选择Tomcat对应的JDK版本
- 12-07tomcat启动报错jar not loaded的问题
- 12-10docker start启动容器后仍然exit状态的解决
- 12-23linux中ftp无法访问怎么办
- 12-19Zabbix SAML SSO 登录绕过漏洞的操作流程
- 12-13k8s编排之Deployment知识点详解
- 12-10Linux下如何安装Logstash
- 12-15Docker-Compose搭建Spark集群的实现方法
- 12-11docker存储目录迁移示例教程
- 01-07windows server 2008安装配置DNS服务器




