Laconica with GoDaddy

I may be jumping the gun here a little bit as I’ve only successfully managed to get Laconica talking to the database and have successfully registered my user. If for some reason not everything is up and working 100% then I’ll append a note to the end of this article. In the meantime, you’re probably here because you want to know if it’s possible to get Laconica, the micro-blogging utility that is the basis for which is built upon, working in a GoDaddy hosting account.

Yes you can. Here’s how.

The Laconica README says that Laconica requires that it is the only process using any particular database, so go ahead and create one from your GoDaddy hosting account manager. I’ve chosen MySQL 5.x myself. It’ll take a few minutes while a (presumably) real human sets up the database and permissions for your user. When the technician is done setting up your database then it should, after a page-refresh, show “Open Manager” in the database manager screen.

There’s a particular piece of info you’ll need now, which is the address of the database (different, often-times, for each database you set up). So click the “pencil” icon in the “actions” column. If you hover over the pencil it should say “edit/view details”.

When the page opens you’re looking for the “Host Name” which is something like “”. That’s the location of the server holding your database and you’ll need it later on. So make a note of it and let’s carry on.

The next step would be to actually have downloaded the Laconica software. A link to the latest version can usually be found on the site. Currently it is version 0.6.2 which was released November 18 of 2008.

Download it, extract the archive (the zip, tar, etc) and then open your favorite FTP client and transfer to your webserver (or copy it over via command line FTP). Don’t expect it to work just yet. You need to edit a couple files.

First, find the laconica_0.6.2/config.php.sample wherever you extracted the archive and drop the .sample part of it. Now open up config.php in whatever text editor you prefer and change the following lines:

$config['site']['name'] = 'Just another Laconica microblog';
$config['site']['server'] = '';
$config['site']['path'] = 'micro'; becomes whatever your URL is, but don’t include http:// or it’ll screw it up. Or do, and you’ll see for yourself. Also, change “micro” to the name of the directory that Laconica exists in on your server. If you just copied the extracted directory over then it may be called “laconica_0.6.2” but I renamed mine to “micro”.

I also changed

#$config['site']['logfile'] = '/tmp/laconica.log';


$config['site']['logfile'] = 'laconica.log';

because I am hoping that the log file will be printed to the site-root ( where I might be able to retrieve it some time, rather than the server’s /tmp/ directory where I cannot reach it. But that’s your call.

Last, but certainly not least, within the config.php file is the “db” configuration. Particular to working in a GoDaddy account, modify the following lines to suit your account.

$config['db']['database'] = 'mysql://DB_NAME:DB_PASSWORD@DB_LOCATION/DB_NAME';
$config['db']['ini_your_db_name'] = $config['db']['DB_NAME'].'/DB_NAME.ini';

Remember that with a GoDaddy account, the MySQL database username is the same as the database name. Thus “DB_NAME” is used for both. Change that to whatever you named your database. DB_LOCATION is that “” thing we noted earlier.

Additional note:


follows the format


That should cover the configuration, but there’s one more file we’ll need to change. Change the name of laconica_0.6.2/classes/laconica.ini to DB_NAME.ini (remember, DB_NAME is replaced with whatever you named your database). It should be noted that you may have to rename laconica.links.ini to DB_NAME.links.ini as well. I just haven’t played around long enough to know.

Another additional note:
Copy htaccess.sample and rename it to .htaccess
Within that file, change “RewriteBase /mublog/” to be “RewriteBase /micro/” where micro is the path to your laconica directory.

Now everything is set up for Laconica to work, all we need now is to import the database! That’s easy, too. Within the GoDaddy Hosting Contol Center, click “Open Manager” for your Laconica database and log in to the PHPMySQLAdmin interface. From the database drop down menu on the left, select the DB_NAME to bring up the database. Now on the right side of the screen click on the “import” tab.

The “Location of the text file” to import is the directory of the extracted Laconica archive/db/laconica.sql

Click “Go” at the bottom right of that screen and now you should be good to go with Laconica on your GoDaddy hosting account. And if it’s not GoDaddy then this was probably an easier task for you.

The best thing you can do for yourself to set up Laconica is to read the Laconica README.

10 Responses to “Laconica with GoDaddy”

  1. Brock Woolf says:

    Hi there,
    After following your guide, I managed to finally get Laconica installed on my godaddy hosting. However I have a problem with the ajax fade in not working when I make a new post.

    It is located here:

    Do you have any idea why this is happening?

  2. kdnewton says:

    I’ve got the same problem with 0.6.3.

    I thought it was me so yesterday I removed the site directory and tables in the database and did a complete re-install. I’ve still got the problem where I make a new post and it doesn’t appear to do anything.

    On checking the public timeline, it does do something. So I’m chalking it up to 0.6.3 having a minor problem.

    I may try 0.6.2 again and see if it works as expected.

  3. kdnewton says:

    @Brock Woolf
    Well, I’m not sure what’s up. I followed my guide and installed to a local VirtualBox and both 0.6.3 and 0.6.2 behave as expected (with different paths and databases for each for testing purposes).

    The only thing I did different was to cp htaccess.sample to .htaccess and to change the “RewriteBase /mublog/” to “RewriteBase /mypath/”. When I get a moment I’ll adjust that on my production server (GoDaddy host). I’m adding that instruction to the how to right now as well.

  4. kdnewton says:

    I started from scratch in my GoDaddy hosting with 0.6.2 and everything works as expected.

    I created a separate database for 0.6.3 and set that up from scratch and it does not work as expected. When posting an update the update does get posted but the page hangs and appears to do nothing.

    The FireFox Error Console (Ctrl-Shift-J) shows that an error is caught:

    Error: not well-formed
    Source File:
    Line: 2, Column: 57
    Source Code:
    <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Strict//EN”””…etc

    My advice: With a GoDaddy account, stick with 0.6.2 for the moment.

  5. kdnewton says:

    As of December 15 there has been another update to Laconica ( It appears to work just as well as 0.6.2 does (which was better than 0.6.3).

  6. Jay says:

    Thank you so much for the tutorial without your step by step instructions I would’ve never been able to install it BUT I have one small problem, how do I log in with admin privileges? I tried everything I can think of to no avail.

    Please HELP!

    Happy New Year! Hope to hear from you soon.

  7. kdnewton says:


    Honestly I’m not too sure about an “admin” user with Laconica. The little bit I’ve played with Laconica there doesn’t appear to be any built-in administration. Searching for similar queries of laconica and an administration menu/user or “deleting other users posts” came up with nothing as well.

    If you are interested in changing the layout/format of Laconica, unfortunately right now that requires digging into the guts and changing the code yourself.

  8. Terrormaster says:

    I struggled for hours trying to get this setup following both your guide and the readme file to discover that there’s one additional gotcha my hungover brain missed – PHP5. GoDaddy supports both 4 and 5 and expects that PHP5 scripts use the extension PHP5 instead of PHP. The simple fix is to add the following to your .htaccess file:

    AddHandler x-httpd-php5 .php
    AddHandler x-httpd-php .php4

    Baddabing Baddaboom!

  9. Terrormaster says:

    Stand corrected… got the app up and going – but… Can’t get the fancy url’s working right on godaddy at all. I tried changing all the \w+ refs to .+ like the readme suggested. What that does is indeed fixes the 404s I was getting but creates numerous other problems such as not being able to properly find the CSS stylesheet file, broken avatars, and for a lot of user functions such as the user RSS and notices I get the “No Such User” error pages. Has ANYONE gotten the 0.6.4 version of Laconica working on Godaddy completely, with fancy URLs, etc?

  10. Oscar says:


    I want to use the Laconica( on Godaddy, but I could not setup it on Godaddy properly.

    could you give me some suggestion?


Leave a Reply

Staypressed theme by Themocracy