Why am I getting this error?
I have php5-cgi installed, and in cgi-wrapper.conf:
# CGI wrapper configuration
#
# Use the 'newroot' tool to copy applications to a chroot directory.
# CGIhandler = /path/to/cgi-handler
#
#CGIhandler = /usr/bin/perl
CGIhandler = /usr/bin/php-cgi
#CGIhandler = /usr/bin/python
#CGIhandler = /usr/bin/ruby
#CGIhandler = /usr/bin/ssi-cgi
# Wrap = <wrap-id>;<cgiroot>;<userid>[:<group>]
#
#Wrap = nobody ; /var/www|nobody ; 65534:65534
#Wrap = somebody ; /var/www/site ; 1001:33,200,201
#Wrap = hugo ; ~hugo ; hugo
Wrap = james ; ~james ; james
And in hiawatha.conf, I have "CGIhandler = /usr/bin/php-cgi:php" uncommented, and I have added the lines:
UseLocalConfig = yes
UserWebsites = yes
UserDirectory = Public
FollowSymlinks = yes
ExecuteCGI = yes
WrapCGI = yes
to the default binding.
But when I try to access a phpinfo.php test, I get a 500 error with "CGI-wrapper: no valid Wrap found" in error.log!