<?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>TLF Blog &#187; PHP</title>
	<atom:link href="http://thelinuxfix.com/blog/tag/php/feed/" rel="self" type="application/rss+xml" />
	<link>http://thelinuxfix.com/blog</link>
	<description>Hosting, Unix, and everything in between.</description>
	<lastBuildDate>Mon, 30 Jan 2012 19:34:12 +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>Understanding IonCube</title>
		<link>http://thelinuxfix.com/blog/2012/01/10/understanding-ioncube/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=understanding-ioncube</link>
		<comments>http://thelinuxfix.com/blog/2012/01/10/understanding-ioncube/#comments</comments>
		<pubDate>Tue, 10 Jan 2012 20:52:55 +0000</pubDate>
		<dc:creator>Brian</dc:creator>
				<category><![CDATA[Hosting]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[TLF Blog]]></category>
		<category><![CDATA[Web Hosting]]></category>
		<category><![CDATA[hosting]]></category>
		<category><![CDATA[ioncube]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://thelinuxfix.com/blog/?p=136</guid>
		<description><![CDATA[PHP has been an Internet mainstay for well over a decade.   Originally created to make boring, static home pages more dynamic and interesting (factoid: PHP originally stood for Personal Home Pages!) it is now nearly ubiquitous in deployment, installed on over one million web servers all over the planet. Much of PHP&#8217;s success can [...]]]></description>
			<content:encoded><![CDATA[<p><a title="PHP Home" href="http://www.php.net/" target="_blank">PHP</a> has been an Internet mainstay for well over a decade.   Originally created to make boring, static home pages more dynamic and interesting (factoid: PHP originally stood for Personal Home Pages!) it is now nearly ubiquitous in deployment, installed on over one million web servers all over the planet.</p>
<p>Much of PHP&#8217;s success can be attributed to it being free and open, able to run on nearly every operating system, and being easy to use and learn.   Yet the same things that have made it so successful in the open source community have historically hindered its commercial success.   But why?</p>
<p>Quite simply PHP is a scripted language.   Unlike C programs which need pre-compilation to run, PHP is compiled and executed on the fly by the PHP engine.  Perl, JavaScript, and Shell script all execute in a similar manner.  This makes PHP very flexible and friendly to open source and hobbyist developers, but it essentially <em>requires</em> you to &#8220;give away&#8221; your source code in order to distribute your program.</p>
<p>Of course commercial developers attempting to make a profit on their work won&#8217;t  want to give away their code, not if they expect to make money! But the PHP market was huge and lucrative, so unsurprisingly a company stepped in to offer a solution.  That solution is IonCube, and here’s how it works.</p>
<p>First, the commercial PHP developer will write their application.   When it&#8217;s finished, the developer will use the IonCube program to encode the raw, human-readable PHP source code in a proprietary binary format.  This protects the underlying source code from prying eyes by turning it into a jumble of unreadable goobleygook.</p>
<p>Next,  the application is purchased by an end user.  After the purchase, the application developer provides the customer with a special key which is used to &#8220;unlock&#8221; the encoded source.</p>
<p>Finally, the customer installs the IonCube Loader on their web server, which acts as a on-the-fly decoder for the coded application.    At no time is the user ever able to view the PHP source code:  all the decoding happens inside the web server via the IonCube loader.   This keeps the application code a secret for the developer, as well as allowing fine control over the licensing of their application via the unlock key.</p>
<p>Though IonCube had a rocky start at its debut in 2002 (thanks somewhat to vocal opposition by strong open source proponents), it has slowly become the de-facto standard for distributing non-free PHP applications.   Though not all web hosts support it, The Linux Fix offers the <a title="TLF Hosting Features" href="http://tlfhosting.com/hosting-features" target="_blank">IonCube Loader</a> with every <a href="http://tlfhosting.com/hosting">web hosting plan</a> we provide.  We hope that it gives you the freedom of using whatever PHP application you choose, without much fuss!</p>
]]></content:encoded>
			<wfw:commentRss>http://thelinuxfix.com/blog/2012/01/10/understanding-ioncube/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP 5.3 with CentOS 5</title>
		<link>http://thelinuxfix.com/blog/2011/07/25/php-5-3-with-centos-5/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=php-5-3-with-centos-5</link>
		<comments>http://thelinuxfix.com/blog/2011/07/25/php-5-3-with-centos-5/#comments</comments>
		<pubDate>Mon, 25 Jul 2011 10:30:59 +0000</pubDate>
		<dc:creator>Steven</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[VPS]]></category>
		<category><![CDATA[web hosting]]></category>

		<guid isPermaLink="false">http://www.thelinuxfix.com/blog/?p=44</guid>
		<description><![CDATA[Retouching on a classic problem once again.  Installing PHP 5.3 for CentOS 5.   With CentOS 6 on the horizon and growing in use this problem will eventually fade, but until it&#8217;s turn to shine, CentOS 5 will need a little love. CentOS 5 supports PHP 5.1.6, and will not ever officially support the newer versions [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: left;">Retouching on a classic problem once again.  Installing PHP 5.3 for CentOS 5.   With CentOS 6 on the horizon and growing in use this problem will eventually fade, but until it&#8217;s turn to shine, CentOS 5 will need a little love.</p>
<p style="text-align: left;">CentOS 5 supports PHP 5.1.6, and will not ever officially support the newer versions of PHP.  As stated in the CentOS wiki &#8220;As with each other program in CentOS, the version numbers of released software will <strong>not</strong> change over the life time of a CentOS product.&#8221;  So in short, the yum repos we all know and love have no intention of including the new PHP software.</p>
<p style="text-align: left;">But what can we do?  Well, we&#8217;re Linux users.  We can do whatever we want!</p>
<p style="text-align: left;">Here at <a href="http://thelinuxfix.com">The Linux Fix</a> we have a talented bloke named <a href="http://www.techrockdo.com/">Greg</a> who has worked on this <a href="http://www.techrockdo.com/technology/php-5-3-5-on-red-hatcentos-5">problem in the past</a> when he created a yum repo for PHP 5.3.5 for use with CentOS.  Well, what&#8217;s changed since then?  Not much actually!  In fact, most of the info here will just be the same helpful tips he wrote back in February.  Except now it&#8217;s with an updated repo for 5.3.6, with additional information for TLF clients!  (oh look, <a href="http://www.techrockdo.com/technology/php-5-3-6-packages-for-rhel-and-centos-5">he beat me</a> to this post!)</p>
<p style="text-align: left;">So first things first, you&#8217;ll need to add our TLF branded repo to your yum repository list.  We keep all that tidy PHP goodness over here at <a href="http://yum.thelinuxfix.com">yum.thelinuxfix.com</a> (with appropriate rpms for 32 and 64-bit systems).</p>
<h3 style="text-align: left;">Install Instructions:</h3>
<p style="text-align: left;">As root run:</p>
<pre style="text-align: left;">64-bit:
rpm -Uvh http://yum.thelinuxfix.com/RHEL/5/x86_64/tlf-release-1-2.noarch.rpm</pre>
<pre>32-bit:
rpm -Uvh http://yum.thelinuxfix.com/RHEL/5/i386/tlf-release-1-2.noarch.rpm</pre>
<p>&nbsp;</p>
<p>This will add our rpm repository to your yum list of approved repos!  We&#8217;re all excited about it.<br />
So what&#8217;s left?  Updating(or installing) PHP of course!  You have a few options here.  If you&#8217;ve already got PHP installed (probably 5.1.6) then a simple</p>
<pre> yum update php</pre>
<p>will do. This should nail the basics, like php; php-common; php-cli; (php and it&#8217;s immediate dependancies), as well as any additional php modules you may be using (like php-pdo; php-odbc; php-mysql; etc). This won&#8217;t always catch everything, so be thorough in making sure you update everything you need (case in point: This won&#8217;t catch php-pear, which is available in our repo).</p>
<h3>zVPS™ Users:</h3>
<p>But wait! You&#8217;re a customer using one of our <a href="http://thelinuxfix.com/virtual-server">zVPS™ Virtual Servers</a>? Well, I&#8217;ve got good news!</p>
<p>As you (hopefully) already know, we have pre-designed single button install templates for many useful purposes.  One of these templates (VPS Template Web Server) has all the CentOS 5 latest rpms for php and a number of relevant mods.  And since I like you guys so much (almost as much as I like parenthesis), I wrote you a short little gift.</p>
<p>As root run:</p>
<pre>wget -O - http://www.thelinuxfix.com/script/tlfphp53.sh|bash</pre>
<p>If you&#8217;ve already installed our web server template, this will automatically set up and install the tlf-repo and update php and it&#8217;s friends to 5.3.6!</p>
<p>&#8211;Steven</p>
]]></content:encoded>
			<wfw:commentRss>http://thelinuxfix.com/blog/2011/07/25/php-5-3-with-centos-5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

