Centos 搭建服务器环境配置LNMP(linux+nginx+php+mysql)
作者:互联网
整理于网络
系统版本:centos7
yum install -y nginx php php-cli php-common php-pdo rrdtool-php gcc gcc-c++ autoconf libjpeg libjpeg-devel libpng libpng-devel freetype freetype-devel libxml2 libxml2-devel zlib zlib-devel glibc glibc-devel glib2 glib2-devel bzip2 bzip2-devel ncurses ncurses-devel curl curl-devel lighttpd-fastcgi pcre pcre-devel #相关支持文件安装
NGINX的网站目录位于:
/usr/share/nginx/html
NGINX的配置文件位于:
/etc/nginx/ nginx.conf
nginx -t 测试配置文件
nginx -v 查看相关版本
标签:配置文件,Centos,libxml2,LNMP,devel,nginx,mysql,curl,php 来源: https://blog.csdn.net/weixin_42190460/article/details/116372578