dyedblue Posted August 16, 2006 Share Posted August 16, 2006 We are exploring the possibility of creating a interface with PHP and XML from another system to query information and display it on our Web site. As far as I can tell the best way to do this is using Sockets, however, when I try to connect to a socket I receive an error at the following lines of code: if( !function_exists('socket_create') ) { echo "Sockets are not installed correctly into the php build\n"; exit; }I believe it is because sockets are not enabled in my php setup. I am using PHP Version 4.3.3 on IIS 5.1. I have not been able to figure out how to make the socket functions work. I uncommented the ;extension=php_sockets.dll line in the PHP.ini file. I did notice that in the C:\PHP folder that there is not extensions folder present. I tried copying an extensions folder into that C:\PHPPHP folder and made the path an absolute path to the Extensions folder containing the .dll files in the PHP.ini file. This did not work either as it still gives me an error that says "Unknown(): Unable to load dynamic library ‘C:/PHP/extensions/php_sockets.dll’ – The specified module could not be found." Can anyone help me out here? Quote Link to comment https://forums.phpfreaks.com/topic/17768-enabling-socket-extensions/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.