如何在阿里云Centos7服务器下安装部署Nginx+PHP+Mysql+PHP扩展
展开全部
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安装步骤
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安装步骤
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询