Ubuntu 16.04 installs Apache, MySQL, PHP7

Source: Internet
Author: User
Tags install php phpmyadmin

1. Update the system before installing
1
2. Installing Apache2
1 sudo apt install apache2
3. Install PHP
1 sudo apt install php 2 sudo apt-get install libapache2-mod-php
4. Install MySQL
1 sudo apt install mysql-server php7.0-mysql2sudo apt-get install mysql-client  3 mysql_secure_installation
5. Installing 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

Configure phpMyAdmin

1 Nano/etc/php/7.0/apache2/php.ini
 on (Error log appears, two times, change, otherwise invalid) extension=php_mbstring.dll (open mbstring)

--------------------------------------------------------------------------------------------

Reference 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/

Reference 2:http://www.linuxdiyf.com/linux/20557.html

Ubuntu 16.04 installs Apache, MySQL, PHP7

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.