[asterisk-users] Getting Exec Format Error when running AGI call

Steve Davies davies147 at gmail.com
Tue Mar 25 05:21:05 CDT 2008


Alternatively...

On 24/03/2008, Tilghman Lesher <tilghman at mail.jeffandtilghman.com> wrote:
> On Monday 24 March 2008 04:02, mark morreny wrote:
>  > Dear friends,
>  >
>  > I am having problem with running a sample php and I can't figure out why.
>  > I can run the sample.php using CLI but when I run it inside the dialplan it
>  > does not work.  Can someone please suggest the config problem that I may
>  > have made?
>  >
>  >
>  > dommy:/var/lib/asterisk/agi-bin# php sample.php

Here you use an interpreter called "php"

>  >  #!/usr/bin/php5 -q

Here you use an interpreter called "php5"

I assume you have verified that /usr/bin/php5 does exist on your system?

Cheers,
Steve



More information about the asterisk-users mailing list