Replies: 9 comments 3 replies
-
Laragon 5 has some compatibility problems with PHP 8, it can work but needs some additional setup. The project may need some upgrading to work with PHP 8 too. Normally to change PHP version in Laragon the PHP version can be switched. See my blog How to update the PHP version in Laragon which has a section on how to switch versions. Once PHP 7.4 is selected click Start all. Laragon should show Apache and MySQL started. Click the Web button to view the Laragon website. Once Laragon is working as expected, try your project's website. Laragon menu > www > project name If Laragon or the project still doesn't display try log off and back on. If that doesn't work try a restart. This will clear any error states. Let us know how you get on. |
Beta Was this translation helpful? Give feedback.
-
Laragon website works (Localhost): Apache/2.4.47 (Win64) OpenSSL/1.1.1k PHP/7.4.19 But after Laragon menu > www > project name I still get "This site can't be reached". |
Beta Was this translation helpful? Give feedback.
-
@Pen-y-Fan I fiddled a bit with what you suggested and then decided to restore the project via a backup I luckily had made before the problems occurred. That seems to have fixed the issue! Now I just wanna update Laragon to ver. 6 with php 8 (php-8.0.28-Win32-vs16-x64). Hope this will work without further unforseen challenges :) Thanks a lot for your fast support and help, man! |
Beta Was this translation helpful? Give feedback.
-
Alright, thanks. I'll follow those guidelines and make sure everything works properly and are up to date/supported (not deprecated). |
Beta Was this translation helpful? Give feedback.
-
Two months later, here I am with the same problem. Out of nowhere, I started getting the same "This site can’t be reached" error, but only for newly created websites (domains). In my case, problem was that "Auto-create virtual hosts" was not checked (not sure how this happened, I know I didn't change anything there recently). Thanks for your help, @Pen-y-Fan !! |
Beta Was this translation helpful? Give feedback.
-
I also couldn't connect anymore until I realized my browser VPN was on. Don't forget to check for that. |
Beta Was this translation helpful? Give feedback.
-
Hello guys, I'm new to Github and had to sign up in a bit to solve a problem. I installed Laragon on my laptop and created a test website but now I can't access my site. I am just a freshman and hope some of you more experienced coders can help me out. This is the error message I usually get: Do you have any ideas how to solve this problem? All help will be highly appreciated. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Which version of Laragon are you using? The current Laragon Full 6 already comes with php 8.1 |
Beta Was this translation helpful? Give feedback.
-
Hi guys,
I'm new to Github and was kindly directed here by Pen-y-Fan (thanks again, Mike).
I've used Laragon for a year now without any issues but now I can't access my site. I'm not a programmer and hope some of you more experienced coders can help me out.
I run Laragon 5 with:
The problem occurred when I upgraded from php-7.4.19-Win32-vc15-x64 to php-8.2.3-Win32-vs16-x64. After that I got the message "This site can’t be reached".
I then removed php-8.2.3-Win32-vs16-x64 and "rolled back" to php-7.4.19-Win32-vc15-x64 again. But now still get the same message.
Nothing else changed.
I read all kinds of stuff about what might be wrong, but it's simply beyond my level :) I'm not experienced at all in php, apache and mysql. And now feel pretty stuck.
Do you have any ideas how to solve this problem?
All help will be highly appreciated.
Best,
Pete/DKturtle
Beta Was this translation helpful? Give feedback.
All reactions