jcvamp wrote
I'm using Abyss Web Server on a Windows 10 machine, and I wanted to use a websockets to send UDP messages to a program. However, the webpage returns the error, 'Uncaught Error: Call to undefined function socket_create()', so, presumably, websockets aren't enabled. How would I go about enabling them?
Thanks.
The error you are getting is about a missing function in your PHP setup. The function is called socket_create and it is available in the PHP sockets extension. To enable this extension, you must add that line in your php.ini file:
extension=sockets
By the way, this extension is already enabled in our PHP preconfigured packages available from
https://aprelium.com/downloads . So why not using one of them which comes with great deafults instead of wresting with the stock PHP setup from PHP's Web site?
As a side note, socket_create() as a call has nothing to do with Websockets. It's just dealing plain old sockets. :)