[asterisk-users] DeadAgi

Anahi Ludueña a_luduena at hotmail.com
Thu Sep 17 16:12:48 CDT 2009


Thanks for the answers!
The file didn't have the first line!
#!/usr/bin/phpBye!





Anahi Ludueña
 



> From: tlesher at digium.com
> To: asterisk-users at lists.digium.com
> Date: Thu, 17 Sep 2009 15:59:21 -0500
> Subject: Re: [asterisk-users] DeadAgi
> 
> On Thursday 17 September 2009 15:06:28 Geraint Lee wrote:
> > 1) does the file exist
> > 2) is it chmod'd to 755 (not sure if this matters though)
> > 3) do you have something like #!/usr/bin/php at the start of the php file?
> 
> 4) Is the file in MS-DOS format (i.e. do you have \r\n at the end of every
> line, instead of only \n)?  That invisible character (\r) will prevent the
> file from executing, as Unix is looking for a file on the filesystem named
> /usr/bin/php\r, and that file probably doesn't exist.
> 
> -- 
> Tilghman Lesher
> Digium, Inc. | Senior Software Developer
> twitter: Corydon76 | IRC: Corydon76-dig (Freenode)
> Check us out at: www.digium.com & www.asterisk.org
> 
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> 
> AstriCon 2009 - October 13 - 15 Phoenix, Arizona
> Register Now: http://www.astricon.net
> 
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
 		 	   		  
_________________________________________________________________
Nuevo Windows Live, un mundo lleno de posibilidades. Descúbrelo.
http://www.microsoft.com/windows/windowslive/default.aspx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090917/7dd228ba/attachment.htm 


More information about the asterisk-users mailing list