[asterisk-users] Set PHP binary location for AGI

Philipp Kempgen philipp.kempgen at amooma.de
Thu Aug 6 15:57:18 CDT 2009


Myles Wakeham schrieb:
> Steve writes:
> 
>  >> #!/usr/bin/php -q
>  > >
>  > > which I would assume I simply need to change to:
>  > >
>  > > #!/usr/local/bin/php -q
> 
>  >This should work. Did you try it?
> 
> Yes, its working fine.

> if I can rely 
> on the #! setting in the file, that's good enough for me.

It's not really a setting and it has nothing to do with Asterisk.
It's just an all normal "shebang" line.
http://en.wikipedia.org/wiki/Shebang_%28Unix%29
http://en.wikipedia.org/wiki/Shebang_(Unix)


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



More information about the asterisk-users mailing list