1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-20 04:20:55 +01:00

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
This commit is contained in:
Aizat Faiz 2011-05-28 02:13:53 +08:00
parent 05846d5d48
commit fdf39a9cb1

View file

@ -36,7 +36,8 @@ class PhabricatorSetup {
'mysql', 'mysql',
'hash', 'hash',
'json', 'json',
'pcntl' 'pcntl',
'openssl',
); );
foreach ($extensions as $extension) { foreach ($extensions as $extension) {
$ok = self::requireExtension($extension); $ok = self::requireExtension($extension);