change cgi to php-cgi, php-cli is too difficult to handle