Hello,
1- My environment: I am running two PHP (Version 5.6.31) websites e.g.(website1&website2) on IIS 10 on windows server 2016. I have 3 PHP versions added to the Handler mapping. I have HTTP to HTTPS redirect rules added to both websites.
2- My problem: After running the server for sometime for example 12 hours,
website2 only, stops serving php content while it keeps serving html pages only. At the same timewebsite1 is serving php & html properly with no issues at all. Please note that everything runs fine at the initial state, this happen after sometime of website running.
3- Condition: *This problem happen to website2 only while it is being served onHTTPS ONLY, while the problem is solved while it is onHTTP. Problem only happening with
website2 while website1 has no issue at all either cases.Website2 has more traffic than
website1.
4- Extra information: as per google analytics for October 19
website1 has ( 94 Sessions & 409 Page Views) whilewebsite2 has (7000+ Sessions & 15000+ Page Views)
5- IIS & browser behavior: I can see all php requests on IIS Worker Processes freezing forever. Browser keeps loading also for ever with no error code, just loading and loading.
6- Temporally solution: I am restating the whole IIS server to solve it, and it runs for sometime and then it happens again. Restating thewebsitse2 it self or the application pool forwebsite2 is not solving the problem at all. I have to restart the whole IIS server.
I not that much experienced with IIS and PHP and servers.
Please I need you help, I spend a lot of time asking here and there and hitting everywhere with no luck because I was not describing my problem properly. Today I figured how it behave by putting two pages one is pure html and the other one is pure PHP while
the problem is happening.
Thank you in advance <3,