Home > Backend Development > PHP Tutorial > javascript - Websocket服务器端用PHP怎么配置?

javascript - Websocket服务器端用PHP怎么配置?

WBOY
Release: 2016-06-06 20:48:56
Original
1485 people have browsed it

在网上搜了很多,有些不能用,有些看不懂。
websocket客户端代码没什么问题,问题就在服务器端php该怎么写?
是像ajax那样就行还是需要php socket?
求解!

回复内容:

在网上搜了很多,有些不能用,有些看不懂。
websocket客户端代码没什么问题,问题就在服务器端php该怎么写?
是像ajax那样就行还是需要php socket?
求解!

不一定非要用php,php不擅长做这个,可以试一下 socket.io

一个Redis的Web代理服务器Webdis​ http://www.qixing318.com/article/a-redis-web-proxy-server-webdis.html

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template