Questions tagged [phpwebsocket]

phpwebsocket is a server-side implementation of a WebSocket server using the PHP language. WebSocket is an API and a protocol for bi-directional, full-duplex communication that is closely associated with HTML5 and implemented in recent versions of most web browsers.

290 questions
1
vote
0 answers

PHP 8 websocket server

I have two Servers Server 1 -> AMD Epyc 7371 - 16c/32t - 3.1 GHz/3.8 GHz Ram 256Gb Server 2 -> 2× Intel Xeon Gold 6242R - 20c/40t - 3.1 GHz/4.1 GHz Ram 384Gb on both servers I have installed a websocket that is the same in all respects On server 1…
1
vote
0 answers

how to activate websocket over SSL (WSS) in apache2.4 and cPanel server?

I'm using websocket over 8090 port in my website and it works correctly, but my website is using let's encrypt ssl and browsers doesn't accept ws:// and it returns error so i can not use my non-ssl websocket in my ssl website. question is how can i…
1
vote
1 answer

error "not a valid Socket resource" implementing the phpwebsocket library

I'm trying to work with the phpwebsocket library at http://code.google.com/p/phpwebsocket/ I'm using the version r8 of the server.php file. For testing I just tried with the client.html file, also provided by the website. When the server is started…
Mikiko Jane
  • 463
  • 6
  • 13
1
vote
0 answers

PHP WebSocket connection issue over SSL

I have some issues connecting a web socket in PHP. I'm using this repo: https://github.com/ghedipunk/PHP-Websockets If I run in localhost, everything is fine, the service is on. But when I move to the server is where everything comes down. I have an…
1
vote
0 answers

How can i configure Workerman works through wss with nginx?

I just started to learn websockets with "Workerman" library on my nginx server, and i ran into a problem. I tried some examples, so I think I almost made it. I have the following: Script into example.com/test/websockets.html `...