主机猫Hosting · Domains · Site Builders
EN
USD

CentOS7 Manual Installation and Configuration of Lighttpd + PHP + MySQL Website Environment: Key Points

Managed Hosting

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.

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.

Related content

Latest hosting deals 16
  1. 1 Hostinger See latest deals
  2. 2 BandwagonHost See latest deals
  3. 3 RackNerd See latest deals
  4. 4 InterServer See latest deals
  5. 5 Contabo See latest deals
  6. 6 SiteGround See latest deals
  7. 7 Bluehost See latest deals
  8. 8 Namecheap See latest deals
  9. 9 Z.com See latest deals
  10. 10 KnownHost See latest deals
  11. 11 Cloudways See latest deals
  12. 12 Create See latest deals
  13. 13 AccuWeb Hosting See latest deals
  14. 14 Wix See latest deals
  15. 15 Shopify See latest deals
  16. 16 LinodeUS$100 credit See latest deals

Top hosting & VPS recommendations

Compare recommended hosting, cloud servers and website builders for your project.

1Web hostingFeatured picks
Hostinger See latest deals
2VPS serversFeatured picks
BandwagonHost See latest deals
3VPS servers
RackNerd See latest deals
4Web hosting
InterServer See latest deals
5VPS servers
Contabo See latest deals
6WordPress hosting
SiteGround See latest deals
7WordPress hosting
Bluehost See latest deals
8Domains & hosting
Namecheap See latest deals
9Web hosting
Z.com See latest deals
10Web hosting
KnownHost See latest deals
11Cloud hosting
Cloudways See latest deals
12Website builder
Create See latest deals
13Web hosting
AccuWeb Hosting See latest deals
14Website builder
Wix See latest deals
15E-commerce platform
Shopify See latest deals
16VPS servers
Linode US$100 credit See latest deals