Error with PHP Websocket and Wamp Server

后端 未结 3 1343
你的背包
你的背包 2020-12-18 08:11

I\'m really new about this of Websockets, i\'m trying to connect this websocket: phpwebsocket with WAMP server, first, in my httpd.conf I wrote listen 9300, and if i go to l

3条回答
  •  既然无缘
    2020-12-18 08:57

    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.

提交回复
热议问题