Rostyslav Rava - Personal Website

Posts

Tempor est exercitation ad qui pariatur quis adipisicing aliquip nisi ea consequat ipsum occaecat. Nostrud consequat ullamco laboris fugiat esse esse adipisicing velit laborum ipsum incididunt ut enim. Dolor pariatur nulla quis fugiat dolore excepteur. Aliquip ad quis aliqua enim do consequat.

How to Install Latest MySQL 8.4 LTS on Ubuntu

The issue with outdated MySQL packages in the default repository for both currently supported Ubuntu LTS releases (22.04 and 24.04) is the same as that previously described for PHP and Apache. When installing the mysql-server package from the default repository, the latest available version is 8.0.44 from the 8.0 series.

There are no signs of MySQL 8.4 availability in the default repository, and MySQL 8.0 will reach End-Of-Life in April 2026, which makes it unsuitable for new projects and installations unless there are legacy dependencies requiring it.

How to configure PHP with Apache on Ubuntu

While PHP can be installed through the php-cli package and used as a command line interpreter as shown in the post about installing the latest PHP on Ubuntu, its primary purpose is to serve as a Hypertext Preprocessor for web applications. To do this, it needs to work together with web servers like Apache or Nginx. This post provides a step-by-step guide on configuring PHP to work with Apache web server.

How to Install Latest Apache on Ubuntu

In continuation of the previous post about installing the latest PHP on Ubuntu, a similar approach for installing the Apache web server will be reviewed here.

Again, the same issue exists with the latest Apache version available in the original Ubuntu 24.04 repository, where it is tied to version 2.4.58.

As it is possible to notice when adding the ppa:ondrej/php repository, there is also a similar repository available for Apache. This can be added using a single command.

How to Install Latest PHP on Ubuntu

PHP is available on Ubuntu out of the box, but there are several reasons not to install it from the default distribution. Usually, the available version is outdated and tied to a specific release.

For example, Ubuntu 22.04.5 includes PHP 8.1.2, while Ubuntu 24.04.3 includes PHP 8.3.6. These versions are outdated compared to current releases. Additionally, PHP 8.1 coming with Ubuntu 22.04 will soon reach EOL, making it an unsuitable option.

Introduction

In the beginning there was a word, and the word was two bytes.

After more than two decades of working in database engineering, it’s time to organise things and start publishing articles on a regular basis. With solid experience, there is much I have to share, yet there is still much more I don’t know and wish to discover.

So let Research and Development begin.