Error with PHP Websocket and Wamp Server

百般思念 提交于 2019-11-29 07:51:05

In WAMP Server, if you are running from a command line you are using PHP CLI.

The PHP CLI uses a different php.ini file to that used when php runs in apache.

Edit c:\wamp\bin\php\php5.x.y\php.ini

and uncomment the php_sockets extension line and any other extensions you may need when running PHP CLI.

You have to install php_socket extension. http://php.net/manual/en/install.windows.extensions.php This link have all information about it.

i am running on my site and the hosting partner said you cant enable sockets on shared hosting u need to buy vps server hosting any solution.on local host it is working fine property in dubai

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!