[asterisk-users] asterisk-users Digest, Vol 59, Issue 62
Norm Heinen
nheinen at gmail.com
Thu Jun 25 11:52:10 CDT 2009
Probably unrelated, but its bad practice to use short tags <? ?> /
<?=$var;?> use <?php ?> / <?php echo $var;?> instead.
Incase short_open_tag = Off in php.ini
On Thu, Jun 25, 2009 at 11:08 AM, Leah Newmark<lnewmark at capalon.com> wrote:
> Take a look at this:
> /var/lib/asterisk/agi-bin/olehphone# head incoming.php displays:
> #!/usr/bin/php
> <?
>
> Running it shows this:
> /var/lib/asterisk/agi-bin/olehphone# ./incoming.php
> #!/usr/bin/php5 -q
>
>
> Is that normal behavior if php5 is the library installed? Seems very odd
> to me.
>
> LN
>
>
> asterisk-users-request at lists.digium.com wrote:
>> Message: 18
>> Date: Wed, 24 Jun 2009 16:23:17 -0500
>> From: "Danny Nicholas" <danny at debsinc.com>
>> Subject: Re: [asterisk-users] PHP AGI Not Working and Odd Behavior
>> To: "'Asterisk Users Mailing List - Non-Commercial Discussion'"
>> <asterisk-users at lists.digium.com>
>> Message-ID: <6E120F20F06549DABCBF9675D32CB883 at db0002>
>> Content-Type: text/plain; charset="iso-8859-1"
>>
>> Looking at my ?man php5? ?q is not a valid option. That may be just on
>> Suse.
>>
>>
>
>
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
More information about the asterisk-users
mailing list