Hello,

I compiled php in order to install it on my sdcard /mnt/0/php.
I have configured the boa.conf with the following line :

    AddType application/x-httpd-cgi php

Then I put essai.php in the html root path :

<?
print("php ok");
?>

When I try to access it the is the error :
502 Bad Gateway
The CGI was not CGI/1.1 compliant. 

The solution is to put #!/mnt/0/php/php int he header of essai.php. But doint 
this, I have this error : Page Web introuvable HTTP 404

In the boa log file, everything seems to be ok, a process is lanched and then 
terminates like when the cgi works...

When I use /bin/sh as interpreteur with the good header and script, everything 
is ok...

I doesn't work with my php interpreter !

Someone can help me please ??

Reply via email to