From 1ce62e0743a69f11536b6b83ad90ab6d2b8fbba5 Mon Sep 17 00:00:00 2001 From: Alex Pott Date: Wed, 23 Oct 2013 12:55:02 -0700 Subject: [PATCH] Issue #2019911 by johnmcc: Add install requirement that open_basedir() = Off since 8.x currently doesn't support it. --- core/install.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/core/install.php b/core/install.php index 7152fd812b02..b12947a618d4 100644 --- a/core/install.php +++ b/core/install.php @@ -36,6 +36,12 @@ if (ini_get('safe_mode')) { exit; } +// Exit early if the PHP option open_basedir is enabled to avoid fatal errors. +if (ini_get('open_basedir')) { + print 'Your PHP installation has open_basedir enabled. Drupal currently requires the open_basedir option to be turned off. See the PHP manual for details of how to do this. This issue is currently under discussion at drupal.org.'; + exit; +} + // Start the installer. require_once __DIR__ . '/includes/install.core.inc'; install_drupal();