Yes they are all executableā¦
i gave them āchmod a+x *.phpā
As you can see, the * cli output said
ā AGI Script test-agi.php completed, returning 0
so * can run the the scriptā¦but with no agi output, and with the bad execution of the script.
I also installed the php5-cli and php5-cgi packages, and it seems that with the cgi in the *cli i receive ā510 Invalid Commandā so i use php-cli-versionā¦
I use php5 with agi and * without problems so this shouldnāt be the problem, I donāt know about ubuntu because I use opensuse but I donāt think itās the cause of the problem; if you start the agi debug what you see in the * cli ?
I did a quick search, this problem is reported many times, there is an errror in the php script for sure, this happened to me too in the past; try comment out blocks of code one at a time and just print a debug statement to see where the error is.
I donāt think soā¦
If i play the php-script alone it works well without errors.
Plus i tried other scripts (eg. voip-info.org/wiki/view/Asterisk+AGI+php)⦠with all the same result in the cli ā¦