Hello,
I've set up cherokee today. I'm using Ubuntu Feisty Fawn AMD64, Cherokee
0.5.5 and php 5.2.1. I've tried three different ways to get php working:
Directory /foo {
Handler fcgi {
ChangeUser on
Server localhost:8001 {
Env PHP_FCGI_CHILDREN "5"
Interpreter "/usr/bin/php5-cgi -b localhost:8001 -d
open_basedir=/foobar:/tmp"
}
}
}
Directory /bar {
Handler cgi {
ChangeUser on
Interpreter "/usr/bin/php5-cgi -d open_basedir=/foobar:/tmp"
}
}
Directory /foobar {
Handler phpcgi {
ChangeUser on
Interpreter "/usr/bin/php5-cgi -d open_basedir=/foobar:/tmp"
}
}
In all of these directories I've got a file just calling phpinfo().
Browsing the first directory works fine. The second one gives a 500
Error and the third one prints "<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML
2.0//EN">
<html><head><title>200 OK</title></head><body><h1>200
OK</h1><p><hr><address>Cherokee web server 0.5.5 Port
80</address></body></html>".
I'm looking for a solution to call php as cgi with option "-d
open_basedir...". Using phpcgi without options produces the normal
phpinfo-site. Can anyone approve this behavior? Do you have any suggestions?
Thanks,
Pascal
_______________________________________________
Cherokee mailing list
[email protected]
http://cherokee-project.com/cgi-bin/mailman/listinfo/cherokee