php = getQuercus();
try {
php.setPwd(new DotCMSPHPCauchoVFS(APILocator.getHostAPI().findDefaultHost(APILocator.getUserAPI().getSystemUser(), true)));
} catch (DotDataException e) {
Logger.error(PHPServlet.class,e.getMessage(),e);
throw new DotReindexStateException(e.getMessage(), e);
} catch (DotSecurityException e) {
Logger.error(PHPServlet.class,e.getMessage(),e);
throw new DotReindexStateException(e.getMessage(), e);
}
php.setDatabase(DbConnectionFactory.getDataSource());
Enumeration paramNames = config.getInitParameterNames();
while (paramNames.hasMoreElements()) {
String paramName = String.valueOf(paramNames.nextElement());