Oct. 28, 2019, 1:10 a.m.
It is sometimes necessary to run a legacy application against an older version of PHP in order to start a migration process. The problem is that it’s very difficult to find a platform that still allows for an easy installation of an older version of PHP. This is where specialized stacks, like Linux for PHP (LfPHP), step in. These Docker-based containers allow us to compile almost any version of PHP. In this short article, we’ll be compiling PHP 5.2.17 on Linux for PHP.