Windows server how to install newest apache with php 5.6 [closed]

I was requested by a client to setup a Windows server 2016 for using a 3rd party app.

The app requires to run on php 5.6. The security department of the company requires that the apache will be at least 2.4.39.

I tried to install xampp. I found an archive that supports php 5.6.40, but apache version is 2.4.38:

PS C:\xampp\apache\bin> .\httpd.exe -v
Server version: Apache/2.4.38 (Win64)
Apache Lounge VC11 Server built:   Jan 21 2019 13:25:29

PS C:\xampp\php> .\php.exe -v
PHP 5.6.40 (cli) (built: Jan  9 2019 15:10:36)

Is there a way to install on windows server a newer apache version with php 5.6?


Solution 1:

I managed to install following instructions in this video: youtube.com/watch?v=kuMTZowwjus

PHP from: https://windows.php.net/downloads/releases/archives/

Apache from: https://www.apachelounge.com/download/

Then a bunch of settings in the configurations that are explained in the video