<?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>Waylon Kenning Blog &#187; install</title>
	<atom:link href="http://kenning.co.nz/tag/install/feed/" rel="self" type="application/rss+xml" />
	<link>http://kenning.co.nz</link>
	<description>Travel, Identity Management, IT Observations, Life</description>
	<lastBuildDate>Fri, 20 Jan 2012 23:49:34 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Getting Laconica 0.7.1 working with XAMPP on Windows</title>
		<link>http://kenning.co.nz/development/getting-laconica-071-working-with-xampp-on-windows/</link>
		<comments>http://kenning.co.nz/development/getting-laconica-071-working-with-xampp-on-windows/#comments</comments>
		<pubDate>Sun, 22 Feb 2009 21:34:44 +0000</pubDate>
		<dc:creator>Waylon</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[laconica]]></category>
		<category><![CDATA[microblogging]]></category>
		<category><![CDATA[twitter]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[xampp]]></category>

		<guid isPermaLink="false">http://kenning.co.nz/?p=158</guid>
		<description><![CDATA[Getting Laconica 0.7.1 working with XAMPP on Windows. A step by step guide.]]></description>
			<content:encoded><![CDATA[<p>Getting Laconica 0.7.1 working with XAMPP on Windows<br />
This guide demonstrates how to get Laconica 0.7.1 working with XAMPP on Windows.</p>
<p>First step – download Laconica, and unzip to folder, say, c:\xampp\htdocs\laconica.</p>
<p>Enable InnoDB by heading to c:\xampp\mysql\bin\my.cnf and at line 128 make yours look like this:</p>
<p># Comment the following if you are using InnoDB tables<br />
#skip-innodb<br />
innodb_data_home_dir = &#8220;C:/xampp/mysql/&#8221;<br />
innodb_data_file_path = ibdata1:10M:autoextend<br />
innodb_log_group_home_dir = &#8220;C:/xampp/mysql/&#8221;<br />
innodb_log_arch_dir = &#8220;C:/xampp/mysql/&#8221;<br />
## You can set .._buffer_pool_size up to 50 &#8211; 80 %<br />
## of RAM but beware of setting memory usage too high<br />
innodb_buffer_pool_size = 16M<br />
innodb_additional_mem_pool_size = 2M<br />
## Set .._log_file_size to 25 % of buffer pool size<br />
innodb_log_file_size = 5M<br />
innodb_log_buffer_size = 8M<br />
innodb_flush_log_at_trx_commit = 1<br />
innodb_lock_wait_timeout = 50</p>
<p>Next install curl. Open c:\xampp\apache\bin\php.ini and remove the semicolon in front of:</p>
<p>extension=php_curl.dll</p>
<p>Save the file. Restart Apache. Create a phpinfo page by adding this line to a new file:</p>
<p>phpinfo();</p>
<p>And saving as c:\xampp\htdocs\phpinfo.php. Open in your web browser by going to http://localhost/phpinfo.php. Search for the word Curl, it should appear as a heading.</p>
<p>Next get XMLWriter working. In c:\xampp\apache\bin\php.ini remove the semicolon in front of:</p>
<p>extension=php_xmlwriter.dll</p>
<p>Save the file. Restart Apache. Check your phpinfo page for the header XMLWriter.</p>
<p>While looking at phpinfo, search for the headers “MySQL”, which should be there. Also “GD” should be there, “mbstring”, and “gettext”.</p>
<p>Go back to c:\xampp\apache\bin\php.ini and remove the semicolon in front of:</p>
<p>extension=php_mailparse.dll</p>
<p>And put it after extension=php_mbstring.dll so it looks like:</p>
<p>;extension=php_lzf.dll<br />
;extension=php_maxdb.dll<br />
extension=php_mbstring.dll<br />
extension=php_mailparse.dll<br />
extension=php_exif.dll<br />
extension=php_mcrypt.dll</p>
<p>Save the file. Restart Apache. Check your phpinfo page for the header Mailparse.</p>
<p>Open c:\xampp\apache\conf\httpd.conf. Remove the # in front of:</p>
<p>#LoadModule rewrite_module modules/mod_rewrite.so</p>
<p>Restart your webserver.</p>
<p>Fire up PHPMyAdmin by going to http://localhost/phpmyadmin. If it asks you for a username or password, it’s something you’ve set.</p>
<p>Click on the privileges link. Click the Add a new User link. Add a user, say “Laconica”. Add a password, in this instance “Laconica”. Do think a little about security here, and don’t use my defaults. Select the “Create database with same name and grant all privileges” option. Then click Go.</p>
<p>Select the Laconica database. Click Import, and select the following file:</p>
<p>c:\xampp\htdocs\laconica\db\laconica.sql</p>
<p>Click Go. You should see a whole bunch of Laconica tables.</p>
<p>In Explorer, copy c:\xampp\htdocs\laconica\htaccess.sample to just .htaccess.</p>
<p>Open .htaccess. Change:</p>
<p>RewriteBase /mublog/</p>
<p>To</p>
<p>RewriteBase /laconica/</p>
<p>Or wherever your Laconica installation is.</p>
<p>In Explorer, copy c:\xampp\htdocs\laconica\config.php.sample to just config.php.</p>
<p>Open config.php. Important lines to configure are:</p>
<p>$config['site']['server'] = &#8216;localhost&#8217;;<br />
$config['site']['path'] = &#8216;laconica&#8217;;</p>
<p>These point to your server, and the path you’ve set to laconica.</p>
<p>$config['db']['database'] = &#8216;mysql://laconica:laconica@localhost/laconica&#8217;;</p>
<p>Your MySQL username and password and database.</p>
<p>Uncomment:</p>
<p>#$config['db']['ini_your_db_name'] = $config['db']['schema_location'].&#8217;/laconica.ini&#8217;;</p>
<p>And change to</p>
<p>$config['db']['ini_laconica'] = $config['db']['schema_location'].&#8217;/laconica.ini&#8217;;</p>
<p>Also:</p>
<p>$config['site']['fancy'] = true;</p>
<p>Set this as true if you copied over htaccess.sample to .htaccess.</p>
<p>Now go to http://localhost/laconica. It should all work.</p>
]]></content:encoded>
			<wfw:commentRss>http://kenning.co.nz/development/getting-laconica-071-working-with-xampp-on-windows/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
	</channel>
</rss>

