RE: [PHP] socket_bind

From: Date: Fri, 25 Jun 2004 14:42:31 +0000
Subject: RE: [PHP] socket_bind
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-189057@lists.php.net to get a copy of this message
Thanks, changing the port worked. -Josh > -----Original Message----- > From: bbonkosk@tampabay.rr.com [mailto:bbonkosk@tampabay.rr.com] > Sent: Friday, June 25, 2004 9:22 AM > To: josh@teamfreeze.com > Cc: PHP (E-mail) > Subject: Re: [PHP] socket_bind > > > I think all sockets less then 1024 need superuser permission > to bind. And because Apache typically runs as nobody you > don't have permission, so either run apache as root (DANGER!) > or choose a socket above 1024. > > -Brad > > ----- Original Message ----- > From: Josh Close <josh@teamfreeze.com> > Date: Friday, June 25, 2004 10:18 am > Subject: [PHP] socket_bind > > > I'm trying to do socket_bind() and it works fine from the command > > line as > > root, but when I try to use it through apache I get this error > > > > Warning: socket_bind() unable to bind address [13]: Permission > > denied in > > ...... > > > > Is there a way to have this run through apache? > > > > -Josh > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > > >

« previous php.general (#189057) next »