This hosting maintenance note, published on May 9, 2016, is titled "Installing a LAMP Website Environment with PHP 7 on Ubuntu." The actual environment and tools involved include WordPress, PHP, MySQL, Apache, Debian, and Ubuntu.
Software and deployment conditions
If you're still unsure or concerned about compatibility, then temporarily use a version like PHP 5.6. One-click installation of LNMP/LAMP/LNMPA website environment on CentOS/Debian/Ubuntu systems.
Accounts and Payments
During the installation process, you need to set the password for the MySQL database ROOT account. Enter the password twice and press Enter.
Parameters recorded in the original text
- Version history:PHP7, PHP5.6, CentOS6, Ubuntu 16.04
Matters mentioned in the article
- 1. One-click installation of LNMP/LAMP/LNMPA website environment on CentOS/Debian/Ubuntu systems
- 2. Complete tutorial on configuring a LAMP (Apache/MySQL/PHP) environment on CentOS 6
- First, preparing to install LAMP with PHP 7 on Ubuntu.
- Second, installing and configuring Apache in a LAMP environment.
- 1. Install Apache 2.4
- 2. Modify the apache2.conf configuration.
- 3. Modify the mpm_prefork.conf configuration.
- 4. Disabling and enabling modules
- 5. Restart Apache
- Third, configure the virtual hosting environment.
- 1. Copy the default configuration file
- 2. Modify the configuration file
Usage Environment
WordPress, PHP, MySQL, Apache, Debian, Ubuntu.
Key points to check
Environmental verificationFirst, confirm the actual web server and PHP runtime environment used by the site. Command-line and website processes may use different configuration files; any changes should be verified through the website entry point.
Data verificationWhen databases are involved, the version, character set, and number of tables should be recorded, and it should be verified that the backup can be restored in an independent environment.