# PHP 5 Socket Server Question!

**URL:** <https://forum.kirupa.com/t/php-5-socket-server-question/208689>\
**Category:** Uncategorized\
**Created:** [December 1, 2006, 7:43am UTC](https://forum.kirupa.com/t/php-5-socket-server-question/208689 "2006-12-01T07:43:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![colfaxrev](https://avatars.discourse-cdn.com/v4/letter/c/838e76/32.png) [@colfaxrev](https://forum.kirupa.com/u/colfaxrev)\
**Post date:** [December 1, 2006, 7:43am UTC](https://forum.kirupa.com/t/php-5-socket-server-question/208689/1 "2006-12-01T07:43:01Z")

</div>

I went through this tutorial…

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

A couple of weird things happened. First of all it worked perfectly… which doesn’t make sense because I only have PHP 4, not PHP 5. And also, I have no access to a command shell or a way to run a BAT file like it says in the tut.

The way I got it to run was by going to the file in the browser. Somehow this magically started the endless process that the socket server needed.

My question is, since I have no access to a command shell, how do I get the socket server to stop running? is there some kind of linux command line I can run through a php script?

thanks!
