Preparation

This guide assumes that you will download the source to ~/php/source and install PHP to ~/php/php8. It should also work on all Linux/MacOS system assuming you have the right dependencies installed.

If you are using Debian/Ubuntu, you need to have the build-essentials installed.

➜  sudo apt install build-essential