<?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>Martin Fleming &#187; Programming</title>
	<atom:link href="http://martin-fleming.co.uk/tag/programming/feed/" rel="self" type="application/rss+xml" />
	<link>http://martin-fleming.co.uk</link>
	<description>Sharing my experiences and knowledge</description>
	<lastBuildDate>Fri, 11 Nov 2011 15:08:59 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Roadsend PHP Compiler Ubuntu 64bit deb package</title>
		<link>http://martin-fleming.co.uk/2009/10/roadsend-php-compiler-ubuntu-64bit-deb-package/</link>
		<comments>http://martin-fleming.co.uk/2009/10/roadsend-php-compiler-ubuntu-64bit-deb-package/#comments</comments>
		<pubDate>Wed, 28 Oct 2009 10:45:48 +0000</pubDate>
		<dc:creator>Marty (admin)</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Bigloo]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Roadsend]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://martin-fleming.co.uk/?p=73</guid>
		<description><![CDATA[<p>I have built a binary package for Roadsend Compiler.  Unfortunately It does not include support for GTK 2 but the website says support is under development.  The PHP-Qt website also says its working on support for Roadsend.  I had trouble compiling in ODBC support so I expect this will not work.<span id="more-73"></span></p>
<p>For now Roadsend can be used to compile CLI apps or webapps where you want to protect the source code.  The Roadsend Compiler is completely independent from the Zend Engine and actually compiles to a binary file for your operating system / architecture so very different from other source code protection systems such as Zend Guard, Ioncube or Bcompiler.  Roadsend also can use its PHP engine to interpret and run scripts just like the Zend Engine.</p>
<p>You will need to install the Bigloo package first then the Roadsend package.</p>
<p>Tested on Karmic (9.10)</p>
<ul>
<li><a href="/downloads/bigloo_3.2a-1_amd64.deb">bigloo_3.2a-1_amd64.deb</a></li>
<li><a href="/downloads/roadsend-php_2.9.8-1_amd64.deb">roadsend-php_2.9.8-1_amd64.deb</a></li>
</ul>
<p>You will also have to change the LD_LIBRARY_PATH before it will work.  For some unknown reason putting this in .profile wont work so we are going to export this new path in our .bashrc file</p>
<pre class="cmd">$ echo 'export LD_LIBRARY_PATH="/usr/local/lib"' | tee -a ~/.bashrc</pre>
]]></description>
		<wfw:commentRss>http://martin-fleming.co.uk/2009/10/roadsend-php-compiler-ubuntu-64bit-deb-package/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP-GTK Ubuntu 64bit deb package</title>
		<link>http://martin-fleming.co.uk/2009/10/php-gtk-ubuntu-64bit-deb-package/</link>
		<comments>http://martin-fleming.co.uk/2009/10/php-gtk-ubuntu-64bit-deb-package/#comments</comments>
		<pubDate>Tue, 27 Oct 2009 14:14:25 +0000</pubDate>
		<dc:creator>Marty (admin)</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[GTK]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://martin-fleming.co.uk/?p=59</guid>
		<description><![CDATA[<p>I&#8217;ve looked everywhere for a binary deb package for PHP-GTK so I have compiled my own and posted it here to share.  To use it you will have to manually edit your php.ini file but I have writen instructions for this below.<span id="more-59"></span></p>
<p>Tested on Jaunty (9.04), Karmic (9.10)</p>
<p><a href="/downloads/php-gtk_2.0.1-1_amd64.deb">php-gtk_2.0.1-1_amd64.deb</a></p>
<h3>Installation Instructions</h3>
<p>Download the deb file for your version of Ubuntu above and double click this file when downloaded.</p>
<p>Once installed you will need to edit your php.ini file to get it to work.</p>
<pre class="cmd">$ sudo gedit /etc/php5/cli/php.ini</pre>
<p>In the Dynamic Extensions part of the file add the line extension=php_gtk2.so</p>
<pre>;;;;;;;;;;;;;;;;;;;;;;
; Dynamic Extensions ;
;;;;;;;;;;;;;;;;;;;;;;
;
; If you wish to have an extension loaded automatically, use the following
; syntax:
;
;   extension=modulename.extension
;
; For example, on Windows:
;
;   extension=msql.dll
;
; ... or under UNIX:
;
;   extension=msql.so
;
; Note that it should be the name of the module only; no directory information
; needs to go here.  Specify the location of the extension with the
; extension_dir directive above.

extension=php_gtk2.so</pre>
<p>You may wish to do a simple test to make sure all is working (taken from <a href="http://gtk.php.net/manual/en/tutorials.helloworld.php">http://gtk.php.net/manual/en/tutorials.helloworld.php</a>).</p>
<pre><code>&lt;?php
if (!class_exists('gtk')) {
 die("Please load the php-gtk2 module in your php.ini\r\n");
}

$wnd = new GtkWindow();
$wnd-&gt;set_title('Hello world');
$wnd-&gt;connect_simple('destroy', array('gtk', 'main_quit'));

$lblHello = new GtkLabel("Just wanted to say\r\n'Hello world!'");
$wnd-&gt;add($lblHello);

$wnd-&gt;show_all();
Gtk::main();
?&gt;</code></pre>
]]></description>
		<wfw:commentRss>http://martin-fleming.co.uk/2009/10/php-gtk-ubuntu-64bit-deb-package/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>

