Leah Newmark
2009-Jun-25 15:05 UTC
[asterisk-users] asterisk-users Digest, Vol 59, Issue 62
The script runs fine command line. I have edited in the past to try as /usr/bin/php -q and it didn't help. Right now, it's not even reading the changes. I must be missing something very obvious... LN asterisk-users-request at lists.digium.com wrote:> Message: 16 > Date: Wed, 24 Jun 2009 17:17:59 -0400 > From: "Juan E. Rodr?guez" <jerdguez at gmail.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: <4A429807.5060301 at gmail.com> > Content-Type: text/plain; charset="iso-8859-1" > > Try running your script with /usr/bin/php5 script.php to test it > Or changing #!/usr/bin/php5 -q to #!/usr/bin/php -q >
Leah Newmark
2009-Jun-25 15:08 UTC
[asterisk-users] asterisk-users Digest, Vol 59, Issue 62
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. > >