前端之家收集整理的这篇文章主要介绍了
ubuntu16 apm环境,
前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
1.安装之前先更新系统 1 sudo apt update 2.安装Apache2 1 sudo apt install apache2 3.安装
PHP 1 sudo apt install
PHP 2 sudo apt-get install libapache2-mod-
PHP 4.安装
MysqL 1 sudo apt install
MysqL-server
PHP7.0-
MysqL 2 sudo apt-get install
MysqL-client 3
MysqL_secure_installation 5.安装
PHPmyadmin 1 sudo apt-get install
PHPmyadmin 2 sudo apt-get install
PHP-mbstring 3 sudo apt-get install
PHP-gettext 4 sudo ln -s /usr/share/
PHPmyadmin /var/www/html/
PHPmyadmin 配置
PHPmyadmin 1 nano /etc/
PHP/7.0/apache2/
PHP.ini display_errors = On(
显示错误日志,出现两次,都要改,不然无效) extension=
PHP_mbstring.dll (开启mbstring) -------------------------------------------------------------------------------------------- 参考1:http://justcode.ikeepstudying.com/2016/04/ubuntu-16-04-%E5%AE%89%E8%A3%85-lamp-install-apache-
MysqL-
PHP-lamp-stack-ubuntu-16-04/ 参考2:http://www.linuxdiyf.com/linux/20557.html