Linux Centos7.4 下安装 LAMP环境及配置(php5.6,mysql5.7)
本文转载至: https://www.cnblogs.com/denghuachengle/p/10423737.html Data Center 11.11.11.11 root / password 远程连接密码: password rm -f /var/run/yum.pid httpd -v service mysqld start yum -y install httpd yum -y install httpd-manual mod_ssl mod_perl mod_auth_mysql systemctl enable httpd.service yum install epel-release rpm -ivh http://rpms.famillecollet.com/enterprise/remi-release-7.rpm yum list --enablerepo=remi --enablerepo=remi-php56 | grep php yum install --enablerepo=remi --enablerepo=remi-php56 php php-opcache php-devel php-mbstring php-mcrypt php-mysqlnd php-phpunit-PHPUnit php-pecl-xdebug php-pecl