T
T
t00z2021-01-12 20:29:28
xampp
t00z, 2021-01-12 20:29:28

How to make websockets work on XAMPP?

I write live chat on Laravel 6 + websockets ( https://github.com/beyondcode/laravel-websockets ). XAMPP web server (or rather Apache).
I can't figure out how to make websockets work on Apache. Production server LAMP, also Apache.
If I launch via php artisan serve, then the connection with ws:// goes, everything works. ( Of course, I always include artisan websockets:serve
myself) I can’t understand how to do this in production normally. I'm not going to run artisan serve there along with a running Apache.
In general, who came across, tell me how to do it in the mind.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question