what is the difference on setting up php environment as CGI or as a module to a web server