I've tried to enable the php_sockets.dll extension on my XAMPP. However, php seems to not be able to load the .dll correctly.
I changed ;extension=php_sockets.dll
to extentions=php_sockets.dll
and when I try to php --ini
in the shell afterwards, the error I get is:
PHP Warning: PHP Startup: Unable to load dynamic library 'F:\xampp\php\ext\php_sockets.dll' - %1 is not a valid Win32-application in Unknown on line 0
I don't really know what I can do to fix this problem and every comment on how to enable this extension just tells me to "remove the semicolon".
I'm using PHP Version 5.6.38 on a Win10 machine with apache installed as a service.