如何在阿里云Centos7服务器下安装部署Nginx+PHP+Mysql+PHP扩展

2022-08-22 家居 115阅读
1、典型的LNMP安装问题
2、首先你得准备编译环境
yum -y install 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 e2fsprogs e2fsprogs-devel krb5 krb5-devel libidn libidn-devel openssl openssl-devel openldap openldap-devel nss_ldap openldap-clients openldap-servers bison lynx
3、下载所需MySQL/nginx/php等安装包
4、安装nginx和mysql没有先后顺序
5、安装php依赖包,安装php,安装php扩展及优化包
6、详细的安装步骤可以网上查LNMP安装步骤
声明:你问我答网所有作品(图文、音视频)均由用户自行上传分享,仅供网友学习交流。若您的权利被侵害,请联系fangmu6661024@163.com