phpMyOpenID

phpMyOpenID is a simple to use install routine for the popular phpMyID library which allows you to host an OpenID server on your own hosting package! OpenID was designed to be a decentralised framework which means that you can keep your ID on any server - no single company will own it. However, most people tend to sign up with a site such as myopenid.com therefore putting all of the power into one single organisation (reminiscent of Microsoft Passport). Therefore, I looked for a way to run an OpenID server on my own machine so that I could be sure all of my details were being kept by someone I trusted; me!

After searching for a while, I came across phpMyID which I quickly set up and have been using ever since. However, there is no actual installation routine for phpMyID and I thought that the process of setting up would be incredibly daunting for some people (e.g. generating your own MD5 hashes, etc). I therefore created phpMyOpenID in order to be an easy to use way of getting the power and functionality of phpMyID, but with the ease of setting up an OpenID on a third party system.

After releasing version 1, I had a lot of feedback asking for me to edit the phpMyID script to enable multi-user support. I've now done this with version 2 which you can download below. The phpMyID script is relatively unaffected and therefore I can update phpMyOpenID very easily when new versions of phpMyID are released.

Download / Installation

For a long time I've been running an "invite only" beta for version 2 of phpMyOpenID, but I'm now making a download link available for a wider beta test. Please note that this is not a final release and there is a lot of tweaking to do but it does all work (I'm using it full time at the moment on a number of OpenID sites). This beta incorporates phpMyID version 0.9

Download phpMyOpenID [zip - 28kb]

To get it up and running, simply unzip, and upload the phpmyopenid folder into the root of your website. You will probably need to set the permissions to write for the entire folder (though this will be changed back at the end of the installation). Then go to http://www.YOURDOMAIN.com/phpmyopenid/ - this should automatically redirect to the installation routine. Simply follow the instructions and you should be good to go.

To test it out, go to any OpenID enabled website such as LiveJournal or mag.nolia and login with your domain name.

Please note that the multi-user settings are for a single domain (e.g. multiple people can login to the account for one domain) - this script will not automatically generate subdomains or user folders although it could be easily modified to perform such tasks.

The final release will have some much better coding (e.g. a single class rather than the verbose procedural code it's using currently) and will also have a funky interface rather than the styling free installation at present. If you notice any bugs or have any suggestions or other feedback then please contact me.

« Return to Dodson Labs homepage