On 06:11, Mon 20 Jun 05, Jeromy Grimmett wrote: > hi all, > > im trying to get a php file to run thru AGI...but when i run it through > *....this is what i get.... > > i have the latest php installed ver. 5...had ver 4.3.11...but had this > problem so i figured an upgrade to the highest would resolve it... > > im running CVS Head and so far its worked great...we are attempting to use > ver 2 of the agiphp.php...which is why we upgraded to ver 4.3.11 in the > first place... > > i replaced the files in agi-bin with the latest versions, modified the > agiphp.conf, reloaded * and i THINK thats all i have to do... > > very new to all this...but...i think i have it right...:-S.... > > any help is appreciated.... > > -------------First few lines of my PHP------------------ > > #!/usr/bin/php -q > <?php > > > require "phpagi.php"; > $agi = new AGI(); > Hi,
Get rid of the -q on the first line. That param should only be used when running the cgi version. And it looks like you are running the CLI version of php, and that one doesn't have a -q. Have fun Michiel van Baak > _______________________________________________ > Asterisk-Users mailing list > [email protected] > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users _______________________________________________ Asterisk-Users mailing list [email protected] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
