安装服务 : yum install httpd httpd-devel
service httpd start 启动
安装mariadb : yum -y install mariadb*
service mariadb start
进入:mysql -u root -p
PHP : yum install php php-devel
扩展:
yum
install
php-mysql php-gd php-ldap php-odbc php-pear php-xml php-xmlrpc
安装后重启服务:service httpd restart