I'm trying to use cgi-fcgi with php but the request info variables like request_uri, content_type, content_length, path_translated are always NULL. Can somebody help me please? I use the following call:
% cgi-fcgi -connect sockets/hello hello.php
where hello.php is:
#!/path/to/php/with/fastcgi/
<?php
print "Hello World\n";
?>
The only way I can get it to work is if I manually set all these environment variables from the commandline (i.e. setenv REQUEST_URI /path/to/script/hello.php) and then call
% cgi-fcgi -connect sockets/hello /path/to/php/with/fastcgi
Thanks for any help,
Thai