Re: How can i setup a server to run a socket programme
| From: | Stut | Date: | Thu, 16 Aug 2007 09:14:56 +0000 |
| Subject: | Re: How can i setup a server to run a socket programme | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-43914@lists.php.net to get a copy of this message | ||
joefazee wrote:
i`m writing a socket application using the php socket() function, the problem is, how can i run it, i read in some tutorial that i should copy it to the server root. which server root?, Apache?. or did i need to install windows server? but i did not have two system. my development system is what i`m using with Apache to test the web applications. can somebody tell me how to setup this server and run a network application?By "socket application" do you mean a client or a server? If it's a client is it web-based, cli or gui? Actually it doesn't matter, running a client that uses sockets is no different to running a client that doesn't use sockets. I'm assuming you mean a socket server, in which case you probably want to run it on the command line and shove it into the background. This is basic shell stuff and not really to do with PHP. I suggest you find a beginners guide to the OS you're using and do some research on how to run a daemon. -Stut -- http://stut.net/