Thanks, changing the port worked.

-Josh

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Friday, June 25, 2004 9:22 AM
> To: [EMAIL PROTECTED]
> 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 <[EMAIL PROTECTED]>
> 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
> > 
> > 
> 
> 
> 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to