Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14415830
D9811.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1014 B
Referenced Files
None
Subscribers
None
D9811.diff
View Options
diff --git a/src/applications/config/check/PhabricatorSetupCheckPHPConfig.php b/src/applications/config/check/PhabricatorSetupCheckPHPConfig.php
--- a/src/applications/config/check/PhabricatorSetupCheckPHPConfig.php
+++ b/src/applications/config/check/PhabricatorSetupCheckPHPConfig.php
@@ -75,6 +75,23 @@
}
}
+ $overload_option = 'mbstring.func_overload';
+ $func_overload = ini_get($overload_option);
+ if ($func_overload) {
+ $message = pht(
+ "You have '%s' enabled in your PHP configuration.\n\n".
+ "This option is not compatible with Phabricator. Disable ".
+ "'%s' in your PHP configuration to continue.",
+ $overload_option,
+ $overload_option);
+
+ $this->newIssue('php'.$overload_option)
+ ->setIsFatal(true)
+ ->setName(pht('Disable PHP %s', $overload_option))
+ ->setMessage($message)
+ ->addPHPConfig($overload_option);
+ }
+
$open_basedir = ini_get('open_basedir');
if ($open_basedir) {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Dec 25, 7:21 PM (11 h, 46 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6927507
Default Alt Text
D9811.diff (1014 B)
Attached To
Mode
D9811: Fatal during setup for "mbstring.func_overload"
Attached
Detach File
Event Timeline
Log In to Comment