Norm Heinen schrieb:
> On Thu, Jun 25, 2009 at 11:08 AM, Leah Newmark<lnewm...@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

That's not even the shebang line from the file. Really strange.

>> asterisk-users-requ...@lists.digium.com wrote:
>>> From: "Danny Nicholas" <da...@debsinc.com>

>>> Looking at my ?man php5? ?q is not a valid option.  That may be just on
>>> Suse.

-q is needed if you use php-cgi as the -cli version in order to
suppress CGI headers. But even php-cli silently accepts -q even
if it's not documented in the man page.


    Philipp Kempgen
-- 
AMOOMA GmbH - Bachstr. 126 - 56566 Neuwied  ->  http://www.amooma.de
Geschäftsführer: Stefan Wintermeyer, Handelsregister: Neuwied B14998
Asterisk: http://the-asterisk-book.com - http://das-asterisk-buch.de
Videos of the AMOOCON VoIP conference 2009 ->  http://www.amoocon.de
-- 

_______________________________________________
-- 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

Reply via email to