Upgrading Apache from PHP 7.3 to PHP 7.4

Okay, I know we’re not upgrading Apache, but y’know what I mean - let’s upgrade a Debian web server using PHP 7.3 to PHP 7.4! I’ll also cover some pointers on if that web server is running WordPress. 0) Assumptions I’m assuming: The server runs Debian 9 (Stretch) or Debian 10 (Buster) with Apache version 2.4.38* (though it should work for other versions) Apache is using the PHP module, not PHP-FPM You have sudo and SSH access You’ve made backups and any sites you’re hosting can tolerate downtime 😉 * You can get this info by running /usr/sbin/apache2 -v ...

December 5, 2023 · 5 min · 930 words · Sammy Fox