Title, the little brother PHP is very vegetable, only basic knowledge of PHP code,
Recently there is a need to do websokect chat room, but the backend code has been running through,
I use Wamp to do PHP server, is not PHP in support of Websokect need to configure what things on the server Ah
Ws_static_url = ' http://127.0.0.1/websocket/static '; Ws_host = ' 127.0.0.1 '; Ws_port = 843;
Like the 843-port thing in here?
Reply to discussion (solution)
If there is a firewall, then the relevant ports are to be opened
Need to load Php_sockets extensions
Service side to run as CLI (command line), note the location of the php.ini
If there is a firewall, then the relevant ports are to be opened
Need to load Php_sockets extensions
Service side to run as CLI (command line), note the location of the php.ini
Thank you, finally use Nodejs solved, thank you warrior