Re: [PHP] What needs to configure to run php exec for socket connection?

2013-01-27 Thread Ashley Sheridan
On Sun, 2013-01-27 at 21:40 +1100, jupiter wrote: > On 1/27/13, Ashley Sheridan wrote: > > On Sun, 2013-01-27 at 03:45 -0600, tamouse mailing lists wrote: > > > >> On Sun, Jan 27, 2013 at 3:10 AM, jupiter wrote: > >> > Hi, > >> > > >> > I have a client.php which calls an external python socket

Re: [PHP] What needs to configure to run php exec for socket connection?

2013-01-27 Thread jupiter
On 1/27/13, Ashley Sheridan wrote: > On Sun, 2013-01-27 at 03:45 -0600, tamouse mailing lists wrote: > >> On Sun, Jan 27, 2013 at 3:10 AM, jupiter wrote: >> > Hi, >> > >> > I have a client.php which calls an external python socket client >> > program exec("Client.py"), the Client.py calls >> > s

Re: [PHP] What needs to configure to run php exec for socket connection?

2013-01-27 Thread jupiter
On 1/27/13, tamouse mailing lists wrote: > On Sun, Jan 27, 2013 at 3:10 AM, jupiter wrote: >> Hi, >> >> I have a client.php which calls an external python socket client >> program exec("Client.py"), the Client.py calls >> sockobj.connect(("localhost", 6)) to connect socket. >> >> If I run th

Re: [PHP] What needs to configure to run php exec for socket connection?

2013-01-27 Thread Ashley Sheridan
On Sun, 2013-01-27 at 03:45 -0600, tamouse mailing lists wrote: > On Sun, Jan 27, 2013 at 3:10 AM, jupiter wrote: > > Hi, > > > > I have a client.php which calls an external python socket client > > program exec("Client.py"), the Client.py calls > > sockobj.connect(("localhost", 6)) to conne

Re: [PHP] What needs to configure to run php exec for socket connection?

2013-01-27 Thread tamouse mailing lists
On Sun, Jan 27, 2013 at 3:10 AM, jupiter wrote: > Hi, > > I have a client.php which calls an external python socket client > program exec("Client.py"), the Client.py calls > sockobj.connect(("localhost", 6)) to connect socket. > > If I run the client.php from Linux command line $ ./client.php

[PHP] What needs to configure to run php exec for socket connection?

2013-01-27 Thread jupiter
Hi, I have a client.php which calls an external python socket client program exec("Client.py"), the Client.py calls sockobj.connect(("localhost", 6)) to connect socket. If I run the client.php from Linux command line $ ./client.php, it works find, no problem at all. But when I run it from w