<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Adventures of an Eternal Optimist &#187; how-to</title>
	<atom:link href="http://eternallyoptimistic.com/category/how-to/feed/" rel="self" type="application/rss+xml" />
	<link>http://eternallyoptimistic.com</link>
	<description></description>
	<lastBuildDate>Thu, 17 Jun 2010 20:23:04 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>MediaWiki OpenID Extension</title>
		<link>http://eternallyoptimistic.com/2008/02/11/yah-about-that-mediawiki-openid-extension/</link>
		<comments>http://eternallyoptimistic.com/2008/02/11/yah-about-that-mediawiki-openid-extension/#comments</comments>
		<pubDate>Tue, 12 Feb 2008 05:46:15 +0000</pubDate>
		<dc:creator>Pamela</dc:creator>
				<category><![CDATA[how-to]]></category>

		<guid isPermaLink="false">http://eternaloptimist.wordpress.com/?p=240</guid>
		<description><![CDATA[After working to install version 0.7.0 of the MediaWiki OpenID extension, it turns out that the whole thing boils down to 7 pretty darn simple steps. Although the OpenID extension README says the extension was &#8220;tested with 2.0.0 rc2&#8243; (of the php-openid library), the plugin doesn&#8217;t actually work with php-openid-2.0.0.   For some reason, I [...]]]></description>
			<content:encoded><![CDATA[<p>After working to install version 0.7.0 of the MediaWiki OpenID extension, it turns out that the whole thing boils down to 7 pretty darn simple steps. Although the OpenID extension README says the extension was &#8220;tested with 2.0.0 rc2&#8243; (of the php-openid library), the plugin doesn&#8217;t actually work with php-openid-2.0.0.   For some reason, I feel chicken about clarifying this point on the actual extension wiki site &#8211; perhaps if somebody externally validates my findings and comments here, I&#8217;d feel better about it&#8230;</p>
<ol>
<li><a href="http://www.mediawiki.org/wiki/Extension:OpenID" target="_blank">Download/check out the extension</a> and place it in the extensions directory as extensions/OpenID.</li>
<li>Create the user_openid table from the .sql file included in the OpenID directory:
<ol><code>mysql &lt;dbname&gt; -u &lt;username&gt; -h &lt;hostname&gt; -p &lt; openid_table.sql</code></ol>
</li>
<li>Create an includes directory within the extensions subdirectory (this is where I put it &#8211; if you want it somewhere else, just make sure that it is a place that won&#8217;t be overwritten or deleted during upgrades, and alter the path in step 6 accordingly).
<ol><code>mkdir extensions/includes</code></ol>
</li>
<li><a href="http://www.openidenabled.com/php-openid/" target="_blank">Download version 1.2.3 of the PHP-OpenID library</a> and place it in extensions/includes.</li>
<li>Run the detect.php script inside of extensions/includes/php-openid-1.2.3/examples and do your best to deal with what it says.  If you are missing things like MySQL and PEAR, you&#8217;ll just have to figure that out yourself, sorry. If, however,  the results of the detect.php script tell you that you have no big integer math support as shown below, you should uncomment the define command in the code you paste into LocalSettings.php in step 6:</li>
<blockquote><p><code>Your PHP installation does not include big integer math support. This<br />
support is required if you wish to run a secure OpenID server without using<br />
SSL..</code></p></blockquote>
<li>Add the following lines to LocalSettings.php (remember to uncomment the NO_MATH_SUPPORT line if you received the error shown in step 5):</li>
<blockquote><p><code>#<br />
# -- OpenID Extension<br />
#<br />
$path = "$IP/extensions/includes/php-openid-1.2.3";<br />
set_include_path(get_include_path() . PATH_SEPARATOR . $path);<br />
# -- uncomment the following line if you have no big integer math support!<br />
#define("Auth_OpenID_NO_MATH_SUPPORT", true);<br />
require_once("$IP/extensions/OpenID/OpenID.php");</code></p></blockquote>
<li>Attempt to log  into your site with an OpenID &#8211; hopefully it works!</li>
<li>Update:  if you have issues, a reader emailed in to say that he had to add a trailing slash (&#8220;/&#8221;) to the path statement in step 6 before anything would work.  It would look like this:  $path = &#8220;$IP/extensions/includes/php-openid-1.2.3/&#8221;;  It couldn&#8217;t hurt to give that a try&#8230; (thanks Christian)</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://eternallyoptimistic.com/2008/02/11/yah-about-that-mediawiki-openid-extension/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
