This hosting maintenance note, published on February 29, 2016, is titled "A Record of Manually Installing and Configuring a Lighttpd + PHP + MySQL Website Environment on CentOS 7." The actual environments and tools involved include PHP, MySQL, Apache, Nginx, Debian, and Typecho.
Software and deployment conditions
Lighttpd, as an open-source web server software, is used by many users due to its low resource consumption, high flexibility and compatibility, and rich modular functionality. This document describes how to install a Lighttpd/SQLite/PHP website building environment on a Debian system.
Domain and site configuration
Add a php.info file to the root directory and insert the probe into it to check if it is working.
Parameters recorded in the original text
- Version history:CentOS7
Matters mentioned in the article
- First, install the necessary software packages.
- Second, install Lighttpd.
- Fourth, test PHP.
- Fifth, install MySQL.
- 1. Setting up a Typecho/ZBLOG PHP website using a Lighttpd/SQLite/PHP environment
- 2. Installing Lighttpd/SQLite/PHP website building environment on Debian system
- 1. Install EPEL
- 2. Upgrade system environment package
- Third, configure lighttpd
- 2. Start lighttpd
- Third, install PHP
- 1. Install the PHP5 module
Usage Environment
PHP, MySQL, Apache, Nginx, Debian, Typecho.
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.