User:DaSch/OpenID

From MediaWiki.org
Jump to navigation Jump to search

Alternative installation using symlink[edit]

The Web Community Wiki uses an alternative Installation for Extension:OpenID to preserve the possibility to update php-openid. This method requires that your Webserver follows symbolic links which often is disabled by default. When using Apache as server this method requires

Options +FollowSymLinks
  • Installation using git, start in the folder mediawiki is installed
cd extensions
git clone git://github.com/openid/php-openid.git
git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/OpenID.git
cd OpenID
ln -s ../php-openid/Auth/ Auth
php ../maintenance/update.php
  • then add the following code to your LocalSettings.php (at the bottom)
require_once( "$IP/extensions/OpenID/OpenID.php" );