Compiling PHP for Development

# 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 # Fetching source The names of the directories of course change depending on which version of PHP you are installing