Skip to content

Commit fdf39a9

Browse files
committed
Add PHP openssl extension as a dependency
Summary: After successfully installing phabricator on my Mac OS X 10.6.7, I was unable to link my accounts to either Facebook or GitHub. I diagnosed that file_get_contents() and fopen() were not working properly. After installing the php openssl package I was able to get it linking successfully. Test Plan: With php's openssl extension disabled, and phabricator installed. Try linking to Facebook and GitHub and observe that it fails. You can visit the Auth Diagnostics page and "Facebook Graph" and "App Login" should fail. With php's openssl extension enabled, linking to Facebook and GitHub should be successful. Change the configuration to add "phabricator.setup = false". Disable php's openssl extension. Visit the phabricator site and observe that it requires you to install php's openssl extension. Enable php's openssl extension. Visit the phabricator site and observe that it installs fine. Reviewed By: epriestley Reviewers: epriestley CC: aran, epriestley Differential Revision: 352
1 parent 05846d5 commit fdf39a9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/infrastructure/setup/PhabricatorSetup.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@ public static function runSetup() {
3636
'mysql',
3737
'hash',
3838
'json',
39-
'pcntl'
39+
'pcntl',
40+
'openssl',
4041
);
4142
foreach ($extensions as $extension) {
4243
$ok = self::requireExtension($extension);

0 commit comments

Comments
 (0)