We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 57ad790 commit d984018Copy full SHA for d984018
scripts/daemon/phabricator_daemon_launcher.php
@@ -15,6 +15,16 @@ function must_have_extension($ext) {
15
"install it to run daemons on this machine.\n";
16
exit(1);
17
}
18
+
19
+ $extension = new ReflectionExtension($ext);
20
+ foreach ($extension->getFunctions() as $function) {
21
+ $function = $function->name;
22
+ if (!function_exists($function)) {
23
+ echo "ERROR: The PHP function {$function}() is disabled. You must ".
24
+ "enable it to run daemons on this machine.\n";
25
+ exit(1);
26
+ }
27
28
29
30
$command = isset($argv[1]) ? $argv[1] : 'help';
0 commit comments