Aapache - Run different php versions


Here’s my problem. I would also like to have the possibility to run an old PHP version on my test environment. The best thing for me would be, if I have the current php 7 versions running and also a PHP 5.6 version.

Is there a possibility and how can I implement it? Is there an older nix-channel from which I get the packages or do I have to build everything myself now? Meine aktuellen genutzten nix-channels:

nixos https://nixos.org/channels/nixos-18.09
nixpkgs https://nixos.org/channels/nixpkgs-unstable

Would be very grateful for any further information.

Thx and Greetz Bavra