<?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>Ubuntu Tutorials &#187; php</title>
	<atom:link href="http://www.ubuntututorials.net/tag/php/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ubuntututorials.net</link>
	<description>Copy/Paste tutorials for Ubuntu</description>
	<lastBuildDate>Sun, 15 Aug 2010 17:57:50 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Installing PEAR framework and packages</title>
		<link>http://www.ubuntututorials.net/installing-pear-framework-and-packages/</link>
		<comments>http://www.ubuntututorials.net/installing-pear-framework-and-packages/#comments</comments>
		<pubDate>Sun, 15 Aug 2010 17:57:21 +0000</pubDate>
		<dc:creator>aip</dc:creator>
				<category><![CDATA[Jaunty Jackalope]]></category>
		<category><![CDATA[Karmic Koala]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[pear]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.ubuntututorials.net/56/</guid>
		<description><![CDATA[PEAR is a framework and distribution system for reusable PHP components.
1. Install the PEAR framework
sudo get install php-pear

2. Restart apache
sudo /etc/init.d/apace2 restart

3. Install a PEAR package (optional)
sudo pear install Net_Ping-2.4.5

You can install any PEAR package using this command but in this example we'll install the Net_Ping package
4. Here's a sample PHP code to use the [...]]]></description>
			<content:encoded><![CDATA[<p>PEAR is a framework and distribution system for reusable PHP components.</p>
<p>1. Install the PEAR framework</p>
<p><code>sudo get install php-pear<br />
</code><span id="more-56"></span></p>
<p>2. Restart apache</p>
<p><code>sudo /etc/init.d/apace2 restart<br />
</code></p>
<p>3. Install a PEAR package (optional)</p>
<p><code>sudo pear install Net_Ping-2.4.5<br />
</code></p>
<p><em>You can install any PEAR package using this command but in this example we'll install the Net_Ping package</em></p>
<p>4. Here's a sample PHP code to use the Net_Ping package (optional)</p>
<p><code>require_once "Net/Ping.php";<br />
$ping = Net_Ping::factory();<br />
&nbsp;<br />
$host = 'ubuntututorials.net';<br />
$count = 3;<br />
&nbsp;<br />
if (PEAR::isError($ping))<br />
{<br />
&nbsp;&nbsp;&nbsp;&nbsp;echo $ping->getMessage();<br />
}<br />
else<br />
{<br />
&nbsp;&nbsp;&nbsp;&nbsp;$ping->setArgs(array('count' => $count));<br />
&nbsp;&nbsp;&nbsp;&nbsp;$res = $ping->ping($host);<br />
&nbsp;&nbsp;&nbsp;&nbsp;foreach ($res->_raw_data as $line)<br />
&nbsp;&nbsp;&nbsp;&nbsp;{<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;echo $line . "\n";<br />
&nbsp;&nbsp;&nbsp;&nbsp;}<br />
}<br />
</code></p>
<p><em>This code will ping the host ubuntututorials.net three times and echo the results</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ubuntututorials.net/installing-pear-framework-and-packages/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing ionCube</title>
		<link>http://www.ubuntututorials.net/installing-ioncube/</link>
		<comments>http://www.ubuntututorials.net/installing-ioncube/#comments</comments>
		<pubDate>Sun, 27 Dec 2009 21:07:58 +0000</pubDate>
		<dc:creator>aip</dc:creator>
				<category><![CDATA[Jaunty Jackalope]]></category>
		<category><![CDATA[Karmic Koala]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[ioncube]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.ubuntututorials.net/?p=47</guid>
		<description><![CDATA[ionCube protects software written using the PHP programming language from being viewed, changed, and run on unlicensed computers.
1. Download ionCube loaders
sudo wget http://downloads.ioncube.com/loader_downloads/ioncube_loaders_lin_x86.tar.gz

2. Extract
sudo tar zxvf ioncube_loaders_lin_x86.tar.gz

3. Move to a permanent location
sudo mv ioncube /usr/local/

4. Add reference to your php.ini file (sudo pico /etc/php5/apache2/php.ini)
zend_extension = /usr/local/ioncube/ioncube_loader_lin_5.2.so

There are a few versions of the loader in the [...]]]></description>
			<content:encoded><![CDATA[<p>ionCube protects software written using the PHP programming language from being viewed, changed, and run on unlicensed computers.</p>
<p>1. Download ionCube loaders</p>
<p><code>sudo wget http://downloads.ioncube.com/loader_downloads/ioncube_loaders_lin_x86.tar.gz<br />
</code><span id="more-47"></span></p>
<p>2. Extract</p>
<p><code>sudo tar zxvf ioncube_loaders_lin_x86.tar.gz<br />
</code></p>
<p>3. Move to a permanent location</p>
<p><code>sudo mv ioncube /usr/local/<br />
</code></p>
<p>4. Add reference to your php.ini file (sudo pico /etc/php5/apache2/php.ini)</p>
<p><code>zend_extension = /usr/local/ioncube/ioncube_loader_lin_5.2.so<br />
</code></p>
<p><em>There are a few versions of the loader in the tar archive. Use the one that matches your PHP version.</em></p>
<p>5. Restart apache</p>
<p><code>sudo /etc/init.d/apache2 restart<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ubuntututorials.net/installing-ioncube/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing Zend Optimizer</title>
		<link>http://www.ubuntututorials.net/installing-zend-optimizer/</link>
		<comments>http://www.ubuntututorials.net/installing-zend-optimizer/#comments</comments>
		<pubDate>Sat, 26 Dec 2009 10:14:52 +0000</pubDate>
		<dc:creator>aip</dc:creator>
				<category><![CDATA[Jaunty Jackalope]]></category>
		<category><![CDATA[Karmic Koala]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[zend]]></category>

		<guid isPermaLink="false">http://www.ubuntututorials.net/?p=44</guid>
		<description><![CDATA[The Zend Optimizer enables you to run Zend Guard encoded files.
1. Download a copy of Zend Optimizer / Guard from the location below and put it into /tmp
http://www.zend.com/en/products/guard/downloads

2. Extract
cd /tmp
sudo tar zxvf ZendOptimizer-3.3.9-linux-glibc23-i386.tar.gz

Replace with your actual filename
3. Create a directory to contain Zend optimizer
sudo mkdir /usr/local/lib/Zend

3. Move the Zend optimizer lib to a permanent location
sudo [...]]]></description>
			<content:encoded><![CDATA[<p>The Zend Optimizer enables you to run Zend Guard encoded files.</p>
<p>1. Download a copy of Zend Optimizer / Guard from the location below and put it into /tmp</p>
<p><code>http://www.zend.com/en/products/guard/downloads<br />
</code><span id="more-44"></span></p>
<p>2. Extract</p>
<p><code>cd /tmp<br />
sudo tar zxvf ZendOptimizer-3.3.9-linux-glibc23-i386.tar.gz<br />
</code></p>
<p><em>Replace with your actual filename</em></p>
<p>3. Create a directory to contain Zend optimizer</p>
<p><code>sudo mkdir /usr/local/lib/Zend<br />
</code></p>
<p>3. Move the Zend optimizer lib to a permanent location</p>
<p><code>sudo mv ZendOptimizer-3.3.9-linux-glibc23-i386/data/5_2_x_comp/ZendOptimizer.so /usr/local/lib/Zend/<br />
</code></p>
<p><em>Your ZendOptimizer directory name may be different since it includes version numbers and platform. I'm using the 5_2_x_comp directory because I have PHP 5.2 installed.</em></p>
<p>4. Add reference to your php.ini file (sudo pico /etc/php5/apache2/php.ini)</p>
<p><code>zend_extension = /usr/local/lib/Zend/ZendOptimizer.so<br />
zend_optimizer.optimization_level = 15<br />
</code></p>
<p>5. Restart apache</p>
<p><code>sudo /etc/init.d/apache2 restart<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ubuntututorials.net/installing-zend-optimizer/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
