Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

The concrete method of configuring lamp Environment by Ubuntu16.04

2025-04-14 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

Steps:

1. update

1 - sudo apt-get update2 - sudo apt upgrade

2. Install Apache2

1 - sudo apt-get install apache2 //install apache2 - apache2 -v //check version

3. Install PHP7

1 - sudo apt install php //install php72 - sudo apt-get install libapache2-mod-php //install the corresponding module 3 - sudo apt install php7.0-gd //install gd library

4. install MySQL

- sudo apt install mysql-server php7.0-mysql //install MySQL server and PHP extensions- sudo apt-get install mysql-client //install MySQL client- mysql -uroot -p //login verification- select version(); //View MySQL version (after login)

The above Ubuntu 16.04 configuration lamp environment specific method is Xiaobian shared with everyone's full content, I hope to give you a reference, but also hope that everyone more support.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report