# PHP Problem with an extension .dll

**URL:** <https://forum.kirupa.com/t/php-problem-with-an-extension-dll/205568>\
**Category:** programming\
**Created:** [October 30, 2006, 9:41pm UTC](https://forum.kirupa.com/t/php-problem-with-an-extension-dll/205568 "2006-10-30T21:41:36Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![parad0xl0g](https://avatars.discourse-cdn.com/v4/letter/p/f17d59/32.png) [@parad0xl0g](https://forum.kirupa.com/u/parad0xl0g)\
**Post date:** [October 30, 2006, 9:41pm UTC](https://forum.kirupa.com/t/php-problem-with-an-extension-dll/205568/1 "2006-10-30T21:41:36Z")

</div>

I tried to do a socket practice which was posted some weeks ago here, in [kirupa.com](http://kirupa.com). The example uses flash and php. But the problem is when I compile by shell a php code. An error ocurred:  
_Call to undefined function socket\_create() in c:/Apache2/htdocs/socketShell.php_  
I’m working on windows XP, using the Apache server and php5 as php version. I know the ext folder has a php\_sockets.dll. I modified the php.ini file in system32 to recognize the extension path (c:/php/ext) but hasn’t worked yet.  
When I type php -m in the command console I can’t see a sockets module compiled. Is that important? I’m a newbie about these subjects. I tried everything, I really want to see the example running:bounce:. Somebody knows what could I do?

The sockets example  
[http://www.kirupa.com/developer/flash8/php5sockets\_flash8.htm](http://www.kirupa.com/developer/flash8/php5sockets_flash8.htm)
