Index: src/wp-includes/load.php
===================================================================
--- src/wp-includes/load.php	(revision 38247)
+++ src/wp-includes/load.php	(working copy)
@@ -1002,28 +1002,33 @@ function wp_convert_hr_to_bytes( $value 
 	// Deal with large (float) values which run into the maximum integer size.
 	return min( $bytes, PHP_INT_MAX );
 }
 
 /**
  * Determines whether a PHP ini value is changeable at runtime.
  *
  * @since 4.6.0
  *
  * @link https://secure.php.net/manual/en/function.ini-get-all.php
  *
  * @param string $setting The name of the ini setting to check.
  * @return bool True if the value is changeable at runtime. False otherwise.
  */
 function wp_is_ini_value_changeable( $setting ) {
-	static $ini_all;
+	static $ini_all = false;
 
-	if ( ! isset( $ini_all ) ) {
-		$ini_all = ini_get_all();
+	if ( false === $ini_all ) {
+		$ini_all = @ini_get_all();
 	}
 
 	// Bit operator to workaround https://bugs.php.net/bug.php?id=44936 which changes access level to 63 in PHP 5.2.6 - 5.2.17.
 	if ( isset( $ini_all[ $setting ]['access'] ) && ( INI_ALL === ( $ini_all[ $setting ]['access'] & 7 ) || INI_USER === ( $ini_all[ $setting ]['access'] & 7 ) ) ) {
 		return true;
 	}
 
+	// If we were unable to retrieve the details, fail gracefully to assume it's changeable.
+	if ( ! is_array( $ini_all ) ) {
+		return true;
+	}
+
 	return false;
 }
