安装php 、apache 、mysql
yum install php php-cli php-common php-fpm php-gd php-imap php-mbstring php-mysql php-odbc php-pdo php-pear php-xml php-xmlrpc
yum install httpd
yum install mysql mysql-server
配置环境
最后设置
service httpd start 启动apache
service mysqld start 启动mysql
chkconfig httpd on 设置apache开机启动
chkconfig mysqld on 设置开机启动
时间: 2024-10-10 14:58:08