add php-cgi support