Ever wanted to be able to compile the latest 'dev' version of PHP in about 10 minutes without the hassle of setting everything up correctly? Well, now you can, thanks to Docker and Linux for PHP!
To learn how to install Docker on your computer, please see the project's documentation: https://docs.docker.com/install/.
In order to try PHP 7.3 on the source code of one of my open source projects, I started by requesting the Linux for Composer library using Composer:
Then, I ran the 'linuxforcomposer.phar' file:
The 'linuxforcomposer.json' file being automatically generated for me by the previous command, I went on to modify it like so:
After about ten (10) minutes, I saw the runit output messages being displayed in the terminal window. I closed the window, opened my favorite browser and, lo and behold, I had the latest 'dev' version of PHP running on my computer! I can now test my PHP code on port 8181, as I had requested!
Powerful stuff! May the testing begin! :)