1.安装apache:
yum install httpd httpd-devel
2.安装mysql:
yum install mysql mysql-server
3.安装php:
yum install php php-devel
4.安装php的扩展:
yum
install
php-mysql php-gd php-imap php-ldap php-odbc php-pear php-xml php-xmlrpc
5.启动apache和mysql服务:
service httpd restart
service mysqld restart
时间: 2024-10-13 12:50:50