Changed environment detection, phpinfo also available