I have problems running my app on Windows 7 Home 64bit. Windows 10 is fine, Windows 7 Pro is fine, Windows 7 Home 32bit is fine, it’s just Windows 7 Home 64bit specifically that has this problem. I was able to constantly reproduce the problem on several laptops and VirtualBox machines.
Since this does not happen with any app, I managed to strip down my particular app to just one line of code, that causes the app to not start. So I built a test app containing only one line of code in a file called index.php:
And if you try to call base64_encode after the app is fully loaded. For instance, you have a homepage that contains a link to another webpage with the PHP code that invokes base64_encode. Does it hang?
So out of interest I just created a new project from scratch with PHP 7.4 and regardless of what the index.php contains it immediately hangs at “just a moment please…” - even if the code is a simple as:
echo "hello world";
It hangs every time.
Switch to PHP 7.3 though, and everything works fine.
Strangely enough, “hello world” with PHP 7.4 works fine for me (the app starts correctly under Win 7 Home 64bit). The original example (with base64_encode) hangs with PHP 7.4 and PHP 7.3, but it starts fine with PHP 7.2, 7.1 and 5.6.
So the exact nature of this problem may not have one single cause. Instead, it may be the resultant of multiple factors – PHP runtime, Windows runtime, machine speed.
It would be nice if you could tackle the problem. However, the fact that it’s working fine with PHP 7.2 is actually a solution for me, since my app doesn’t rely on any of the PHP 7.3+ features.