PHP 8.0 (8.0.0alpha1) testing anyone?
Trying tp run PHP 8 under Laragon but it makes Apache faill.
Here are the PHP 8 Windows binaries files:
Also get the Apache 2.4 binaries VS16 files:
Can someone else try this and report back?
Microsoft announce that they will stop supporting on php since version 8.0.
The QA version is nonstable and we should avoid using it.
In the future, looks like we have to install WUS to use the next php version OR.... we have to install some linux distro to keep using PHP.
That is a shame really.
I guess something like Docker makes most sence for development enviroments.
Need to study on this though this is all new to me.
@SVLNL , @TraLeeee : What's wrong?
Just follow my instruction here:
IMPORTANT: Remember to update your VC:
This is the error I get:
Keep in mind I try to use PHP 8 beta and have updated the VC.
I've also tried it with Apache 2.4.43-win64-VS16 running.
@SVLNL : Gotcha.
To overcome that, you can use the PHP NTS version or use Nginx.
If you insist on using PHP TS, you can fix it yourself:
- Open the file: C:\laragon\etc\apache2\mod_php.conf
Then start Apache, that should work.
Got it running fine now and I don't even need to use the NTS version.
Editing mod_php.conf like you wrote fixed the issue.
Works fine on both Apache and Nginx.
Thanks a lot.
@SVLNL : I am glad to hear that. Enjoy the flexibility of Laragon