If you want to create a websokect chat room and download some demos online, you will not be able to use them. thank you!

Source: Internet
Author: User
Tags php server
I want to create a websokect chat room and download some demos online. I can't even use them. I would like to thank you for your advice. my younger brother's php is very helpful. I only know the php code,
Recently, the websokect chat room needs to be implemented, but the backend code has been running normally,
I use wamp as a php Server. is it necessary to configure something on the server when php supports websokect?
WS_STATIC_URL = 'http: // 127.0.0.1/websocket/static '; WS_HOST = '2017. 0.0.1'; WS_PORT = 127;
For example, Port 843 or something.


Reply to discussion (solution)

If a firewall exists, all ports must be enabled.

The php_sockets extension needs to be loaded.
The server must run in CLI (command line) mode. pay attention to the location of php. ini.

If a firewall exists, all ports must be enabled.

The php_sockets extension needs to be loaded.
The server must run in CLI (command line) mode. pay attention to the location of php. ini.

Thank you for using nodejs.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.