Run PHP 5.2.6 on windows server 2016

1k Views Asked by At

I need to install php 5.2.6 and only this version on Windows Server 2016. I don't find any packager like Windows Platform Installer or Chocolatey. With Windows Platform, the 5.2.6 version is not in the list. So I try to install manually but I can't find solution to run my test with phpinfo.php

I explain : I work with iis, so I test phpinfo.php into C:\inetpub\wwwroot\phpinfo.php and try to call phpinfo() with http://localhost/phpinfo.php and I try several way :

  1. In Mapping manager, I set php5isapi.dll in script mapping and the result is : Error http 404.17 - Not Found enter image description here

  2. I copied php-cgi.exe from the old server and paste it in the new PHP folder. Set this file on mapping manager , add a mapping module and browse the php=cgi.exe and set the FastCgiModule. I have the 500 error..

enter image description here

Also try without any mapping setting and still not working (error 404.3)

If anyone can help me... Thanks a lot!

0

There are 0 best solutions below