5
You can download the Windows PHP 8 binaries from: https://windows.php.net/qa/
Unzip it to your Laragon folder, e.g. C:\laragon\bin\php\
so you have: C:\laragon\bin\php\php-8.0.0beta2-Win32-vs16-x64\
Then start Laragon.
It should find PHP8, and you should see it in your Laragon PHP selection.
After you select PHP8, you will get an error, so stop Laragon and make these changes:
- Open the file: C:\laragon\etc\apache2\mod_php.conf
- Change
php8_module
to php_module
Once you do it, restart Laragon again, and PHP8 should work