手记

Apache+mysql+php

  1. wget http://dev.mysql.com/get/mysql57-community-release-el7-8.noarch.rpm
  2. yum localinstall mysql57-community-release-el7-8.noarch.rpm
  3. yum install mysql-community-serve
  4. systemctl start mysql
  5. systemctl enable mysqld
  6. yum - y install httpd
  7. systemctl enable httpd
  8. yum -y install php
  9. vi /etc/httpd/conf/httpd.conf
  10. 添加  AddType application/x-httpd-php.php   使Apache支持PHP
  11. yum -y install php-tidy php-common php-devel php-fpm php-mysql

0人推荐
随时随地看视频
慕课网APP