<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
Thanks for the answers!<br>The file didn't have the first line!<br><pre>#!/usr/bin/php</pre>Bye!<br><br><br><div><p align="center"><font face="Verdana, Geneva, Arial, Sans-serif"><strong>
<hr>
</strong></font></p>
<p align="center"><font face="Verdana, Geneva, Arial, Sans-serif"><strong>Anahi Ludueña</strong></font></p>
<p align="center"> </p></div><br><br><br><br>> From: tlesher@digium.com<br>> To: asterisk-users@lists.digium.com<br>> Date: Thu, 17 Sep 2009 15:59:21 -0500<br>> Subject: Re: [asterisk-users] DeadAgi<br>> <br>> On Thursday 17 September 2009 15:06:28 Geraint Lee wrote:<br>> > 1) does the file exist<br>> > 2) is it chmod'd to 755 (not sure if this matters though)<br>> > 3) do you have something like #!/usr/bin/php at the start of the php file?<br>> <br>> 4) Is the file in MS-DOS format (i.e. do you have \r\n at the end of every<br>> line, instead of only \n)? That invisible character (\r) will prevent the<br>> file from executing, as Unix is looking for a file on the filesystem named<br>> /usr/bin/php\r, and that file probably doesn't exist.<br>> <br>> -- <br>> Tilghman Lesher<br>> Digium, Inc. | Senior Software Developer<br>> twitter: Corydon76 | IRC: Corydon76-dig (Freenode)<br>> Check us out at: www.digium.com & www.asterisk.org<br>> <br>> _______________________________________________<br>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --<br>> <br>> AstriCon 2009 - October 13 - 15 Phoenix, Arizona<br>> Register Now: http://www.astricon.net<br>> <br>> asterisk-users mailing list<br>> To UNSUBSCRIBE or update options visit:<br>> http://lists.digium.com/mailman/listinfo/asterisk-users<br>                                            <br /><hr />Nuevo Windows Live, un mundo lleno de posibilidades <a href='http://www.microsoft.com/windows/windowslive/default.aspx' target='_new'>Descúbrelo.</a></body>
</html>