virtual hosts and proper error reporting in php