本文主要向大家介绍了MySQL数据库之Apache+mysql+php ,通过具体的内容向大家展现,希望对大家学习MySQL数据库有所帮助。
wget http://dev.mysql.com/get/mysql57-community-release-el7-8.noarch.rpm
yum localinstall mysql57-community-release-el7-8.noarch.rpm
yum install mysql-community-serve
systemctl start mysql
systemctl enable mysqld
yum - y install httpd
systemctl enable httpd
yum -y install php
vi /etc/httpd/conf/httpd.conf
添加 AddType application/x-httpd-php.php 使Apache支持PHP
yum -y install php-tidy php-common php-devel php-fpm php-mysql
本文由职坐标整理并发布,希望对同学们学习MySQL有所帮助,更多内容请关注职坐标数据库MySQL数据库频道!