Have you tried using SAIL?
Nov 27, 2021
10
Level 1
Laravel 8 with PHP 8.1 on Apache server
Hey, has anyone gotten Laravel 8 to work with the newly released PHP 8.1 on windows using an apache webserver? I use windows 11 with laragon, when I tried it, I kept getting connection reset errors, but it works using the "artisan serve" command or an Nginx server.
Level 1
I just had your issue on Windows 10 with PHP 8.1 and Apache 2.4.51 Please verify if you have this error in your Apache errors.log
AH00428: Parent: child process 1440 exited with status 3221225725 -- Restarting.
The problem is in Apache with Windows, it allocates 1 MB of stack trace, unlike Linux/Unix system which is 8 MB If it's the case, you have to add this code to your httpd.conf
<IfModule mpm_winnt_module>
ThreadStackSize 8888888
</IfModule>
And everything is working
4 likes
Please or to participate in this conversation.