Server configuration guides - Page 4
Build and repair Linux server stacks with guides for Nginx, PHP-FPM, MariaDB, TLS, reverse proxies, and production web services.
Curated guides
Server setup guides
110 matched guides, best match first. Page 4 of 10.

How to Configure Browser Caching for Static Assets in NGINX
Browser cache headers decide whether visitors download the same CSS, JavaScript, font, and image files on every page view or reuse files they already have. To configure browser...

How to Allow or Block IP Addresses in Nginx
IP-based access rules are useful when an admin path, staging site, partner endpoint, or private dashboard should not be reachable by every visitor that can reach the Nginx...

How to Upgrade Apache on Ubuntu 26.04, 24.04 and 22.04
Ubuntu's Apache packages are stable, but production sites sometimes need a newer upstream point release before it reaches the Ubuntu archive. To upgrade Apache on Ubuntu without building...

How to Install PHP on Linux Mint 22 and 21
Linux Mint installs PHP through APT, giving you a supported runtime for local development, PHP-FPM sites, and command-line scripts without a standalone download. If you need to install...

How to Enable HTTP/2 in Nginx
HTTP/2 in Nginx has a version split that matters before editing a live HTTPS server block. Nginx 1.25.1 introduced the standalone http2 on; directive and deprecated the older...

How to Install MariaDB 11.4 on Ubuntu 26.04, 24.04 and 22.04
MariaDB 11.4 is the Ubuntu install target when an application stack needs a long-maintenance MariaDB LTS branch instead of the older Ubuntu defaults on 24.04 and 22.04. Ubuntu...

How to Install PHP on Debian 13, 12 and 11
Most Debian web stacks stop at static HTML until PHP is in place. You can install PHP on Debian from the default APT sources and pair it with...

How to Install PHP 8.5 on Debian 13, 12 and 11
Debian 13 (trixie) already ships PHP 8.4.x, Debian 12 (bookworm) ships PHP 8.2.x, and Debian 11 (bullseye) stays on PHP 7.4.x in the default APT sources. That matters...

How to Install PHP 8.4 on Debian 13, 12 and 11
Debian 13 (trixie) already ships PHP 8.4 in its default APT sources. Debian 12 (bookworm) and Debian 11 (bullseye) still need the Sury repository for the same branch....

How to Install PHP 8.3 on Debian 13, 12 and 11
Debian's default PHP package does not stay fixed across releases, so application compatibility often decides whether PHP 8.3 is worth pinning. To install PHP 8.3 on Debian, you...

How to Upgrade Apache on Debian 13, 12 and 11
Debian's default APT sources already provide Apache 2.4.67 for Debian 13 (Trixie), Debian 12 (Bookworm), and Debian 11 (Bullseye), so most servers do not need a third-party repository...

How to Install PHP 8.2 on Debian 13, 12 and 11
Debian 13 moved on to PHP 8.4, while Debian 12 still ships PHP 8.2 and Debian 11 never carried it in the base archive. To install PHP 8.2...