Ubuntu 16.04 installs Apache, MySQL, PHP7

Source: Internet
Author: User
1. Update the system before installing
2. Installing Apache2
1 sudo apt install apache2
3. Install PHP
1 sudo apt install php2 sudo apt-get install libapache2-mod-php
4. Install MySQL
1 sudo apt install mysql-server php7.0-mysql2 sudo apt-get install Mysql-client3 mysql_secure_installation
5. Installing phpMyAdmin
1 sudo apt-get install phpmyadmin2 sudo apt-get install php-mbstring3 sudo apt-get install php-gettext4 sudo ln-s/usr/sh Are/phpmyadmin/var/www/html/phpmyadmin

Configure phpMyAdmin

1 Nano/etc/php/7.0/apache2/php.ini
Display_errors = ON (display error log, two times, change, otherwise invalid) Extension=php_mbstring.dll (open mbstring)

Ubuntu 16.04 installs Apache, MySQL, PHP7

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.