It works!! Thank you!! If anyone knows what to modify on the Boa sources to get this automatically done when opening php files, please, let us know!
Alex. --- In [email protected], "blogic79" <[EMAIL PROTECTED]> wrote: > > make the php script executable chmod a+x > and add in the firstline #!/path_to_php/php > > > --- In [email protected], "Alex" <yahoogroups@> wrote: > > > > Hi there, > > > > I'm trying to compile Boa + Php on Kernel 2.6. Html files works > > perfect, but when trying to execute a php file, the following error > > appears: > > > > 502 Bad gateway > > The CGI was not CGI/1.1 compliant. > > > > And this is the error log of Boa when trying to execute the included > > index.php: > > > > [EMAIL PROTECTED] /mnt/flash/root]104# cat error.log > > [01/Jan/1970:00:01:46 +0000] boa: server version Boa/0.94.14rc20 > > [01/Jan/1970:00:01:46 +0000] boa: server built Oct 9 2006 at 22:03:51. > > [01/Jan/1970:00:01:46 +0000] boa: starting server pid=114, port 80 > > 192.168.0.91 - - [01/Jan/1970:00:01:49 +0000] request "GET /index.php > > HTTP/1.1" ("./index.php"): Unable to execve/execl pathname: > > "./index.php"Exec format error > > cgi_header: unable to find LFLF > > > > > > Any ideas? > > >
