[asterisk-users] DeadAgi

Tilghman Lesher tlesher at digium.com
Thu Sep 17 15:59:21 CDT 2009


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



More information about the asterisk-users mailing list