# PHP Chatroom Tutorial Problems

**URL:** <https://forum.kirupa.com/t/php-chatroom-tutorial-problems/209629>\
**Category:** programming\
**Created:** [December 11, 2006, 1:17am UTC](https://forum.kirupa.com/t/php-chatroom-tutorial-problems/209629 "2006-12-11T01:17:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![johnfn](https://avatars.discourse-cdn.com/v4/letter/j/3e96dc/32.png) [@johnfn](https://forum.kirupa.com/u/johnfn)\
**Post date:** [December 11, 2006, 1:17am UTC](https://forum.kirupa.com/t/php-chatroom-tutorial-problems/209629/1 "2006-12-11T01:17:25Z")

</div>

I have been trying to follow this tutorial: [http://www.kirupa.com/developer/flash8/php5sockets\_flash8\_6.htm](http://www.kirupa.com/developer/flash8/php5sockets_flash8_6.htm)

But when I run the BAT file, I get this error:

Fatal Error: Call to undefined function socket\_create in C:\Chat\socketTut.php on line 45.

I have no idea where to go from here. I’ve trawled through some google results on it and haven’t got any definite solutions. I’ve tried using various versions of PHP with no luck. Can anyone tell me what I have to do to get this to work?
