<?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>Debian Tutorials &#187; php</title>
	<atom:link href="http://www.debiantutorials.com/tag/php/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.debiantutorials.com</link>
	<description>Copy/Paste tutorials for Debian based Linux distros</description>
	<lastBuildDate>Tue, 27 Dec 2011 01:15:56 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>Installing sSMTP MTA (Mail Transfer Agent)</title>
		<link>http://www.debiantutorials.com/installing-ssmtp-mta-mail-transfer-agent/</link>
		<comments>http://www.debiantutorials.com/installing-ssmtp-mta-mail-transfer-agent/#comments</comments>
		<pubDate>Sat, 13 Aug 2011 15:24:18 +0000</pubDate>
		<dc:creator>aip</dc:creator>
				<category><![CDATA[Lenny]]></category>
		<category><![CDATA[Mail]]></category>
		<category><![CDATA[Squeeze]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[smtp]]></category>
		<category><![CDATA[ssmtp]]></category>

		<guid isPermaLink="false">http://www.debiantutorials.com/?p=396</guid>
		<description><![CDATA[sSMTP is an extremely simple MTA to get mail off the system to a mail hub. It contains no suid-binaries or other dangerous things - no mail spool to poke around in, and no daemons running in the background. Mail is simply forwarded to the configured mailhost. Extremely easy configuration. This is ideal for web [...]]]></description>
			<content:encoded><![CDATA[<p>sSMTP is an extremely simple MTA to get mail off the system to a mail hub. It contains no suid-binaries or other dangerous things - no mail spool to poke around in, and no daemons running in the background. Mail is simply forwarded to the configured mailhost. Extremely easy configuration.</p>
<p>This is ideal for web servers to avoid running MTA daemons like sendmail, Exim and Postfix which use up resources on the server.</p>
<p>1. Install sSMTP (Note: Any previously installed MTA will be removed)</p>
<p><code>apt-get install ssmtp<br />
</code><span id="more-396"></span></p>
<p>2. Configure the server (pico /etc/ssmtp/ssmtp.conf)</p>
<p><code>mailhub=mail.example.org<br />
FromLineOverride=YES<br />
</code></p>
<p><em>Replace mail.example.org with the external mail server that you want to relay all mail to.</em></p>
<p>If you would like to relay through Google Mail servers, change these configuration values:</p>
<p><code>mailhub=smtp.gmail.com:587<br />
UseSTARTTLS=Yes<br />
AuthUser={username}<br />
AuthPass={password}<br />
FromLineOverride=YES<br />
</code></p>
<p><em>Replace {username} with your Gmail username and {password} with your Gmail password.</em></p>
<p>That's all! sSMTP doesn't run as service so there's no restart required. sSMTP creates a link to /usr/sbin/sendmail which most programs use by default to send mail including PHP.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.debiantutorials.com/installing-ssmtp-mta-mail-transfer-agent/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to install LAMP (Apache, PHP and MySql in Linux)</title>
		<link>http://www.debiantutorials.com/how-to-install-lamp-apache-php-and-mysql-in-linux/</link>
		<comments>http://www.debiantutorials.com/how-to-install-lamp-apache-php-and-mysql-in-linux/#comments</comments>
		<pubDate>Fri, 12 Aug 2011 15:20:39 +0000</pubDate>
		<dc:creator>aip</dc:creator>
				<category><![CDATA[Etch]]></category>
		<category><![CDATA[Jaunty Jackalope]]></category>
		<category><![CDATA[Karmic Koala]]></category>
		<category><![CDATA[Lenny]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Squeeze]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[jaunty]]></category>
		<category><![CDATA[karmic]]></category>
		<category><![CDATA[lenny]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[phpmyadmin]]></category>

		<guid isPermaLink="false">http://www.debiantutorials.com/?p=393</guid>
		<description><![CDATA[Here's a basic guide on how to get Apache2, PHP5 and MySql working on most Debian based distros in a few easy steps. 1. Install Apache2 and PHP5 (as an Apache module) apt-get install apache2 php5 libapache2-mod-php5 php5-mysql 2. Install MySql server apt-get install mysql-server 3. At this point you may need to restart Apache [...]]]></description>
			<content:encoded><![CDATA[<p><img src="/wp-content/uploads/2011/08/lamp.jpg" alt="Trac" align="right" style="margin-left:10px" /><br />
Here's a basic guide on how to get Apache2, PHP5 and MySql working on most Debian based distros in a few easy steps.</p>
<p>1. Install Apache2 and PHP5 (as an Apache module)</p>
<p><code>apt-get install apache2 php5 libapache2-mod-php5 php5-mysql<br />
</code><span id="more-393"></span></p>
<p>2. Install MySql server</p>
<p><code>apt-get install mysql-server<br />
</code></p>
<p>3. At this point you may need to restart Apache</p>
<p><code>/etc/init.d/apache2 restart<br />
</code></p>
<p>3. Create a test php file</p>
<p><code>echo "&lt;?php phpinfo(); ?&gt;" > /var/www/info.php<br />
</code></p>
<p><em>The default document root for Debian is in /var/www so you can access the test file on this location: http://yourserver/info.php</em></p>
<p>3. Install phpMyAdmin (optional but preferred by most developers and administrators)</p>
<p><code>apt-get install phpmyadmin<br />
</code></p>
<p><em>By default, phpmyadmin will be accessible on: http://yourserver/phpmyadmin</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.debiantutorials.com/how-to-install-lamp-apache-php-and-mysql-in-linux/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Installing eAccelerator</title>
		<link>http://www.debiantutorials.com/installing-eaccelerator/</link>
		<comments>http://www.debiantutorials.com/installing-eaccelerator/#comments</comments>
		<pubDate>Fri, 05 Aug 2011 11:09:48 +0000</pubDate>
		<dc:creator>aip</dc:creator>
				<category><![CDATA[Lenny]]></category>
		<category><![CDATA[Squeeze]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[eAccelerator]]></category>
		<category><![CDATA[lenny]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.debiantutorials.com/?p=375</guid>
		<description><![CDATA[eAccelerator is a free open-source PHP accelerator &#038; optimizer. It increases the performance of PHP scripts by caching them in their compiled state, so that the overhead of compiling is almost completely eliminated. It also optimizes scripts to speed up their execution. eAccelerator typically reduces server load and increases the speed of your PHP code [...]]]></description>
			<content:encoded><![CDATA[<p>eAccelerator is a free open-source PHP accelerator &#038; optimizer. It increases the performance of PHP scripts by caching them in their compiled state, so that the overhead of compiling is almost completely eliminated. It also optimizes scripts to speed up their execution. eAccelerator typically reduces server load and increases the speed of your PHP code by 1-10 times.</p>
<p>eAccelerator only works with mod_php or php in fastcgi mode. It can't be used in cgi or cli because eAccelerator needs to set up shared memory, and this can only be done when all php instances that need to access it are forks of the first process.</p>
<p>1. Download the eAccelerator source. The latest version is mirrored on www.debiantutorials.com as it's not available on the official site anymore.</p>
<p><code>cd /tmp<br />
wget http://www.debiantutorials.com/static/eaccelerator-0.9.6.1.tar.bz2<br />
</code><span id="more-375"></span></p>
<p>2. Extract</p>
<p><code>tar -xvjf eaccelerator-0.9.6.1.tar.bz2<br />
</code></p>
<p>3. Install php5-dev</p>
<p><code>apt-get install php5-dev<br />
</code></p>
<p>3. Compile and install the eAccelerator</p>
<p><code>phpize<br />
./configure<br />
make<br />
make install<br />
</code></p>
<p>4. Configure eAccelerator as PHP extension (create a new config file: pico /etc/php5/conf.d/eaccelerator.ini)</p>
<p><code>extension="eaccelerator.so"<br />
eaccelerator.shm_size="16"<br />
eaccelerator.cache_dir="/var/cache/eaccelerator"<br />
eaccelerator.enable="1"<br />
eaccelerator.optimizer="1"<br />
eaccelerator.check_mtime="1"<br />
eaccelerator.debug="0"<br />
eaccelerator.filter=""<br />
eaccelerator.shm_max="0"<br />
eaccelerator.shm_ttl="0"<br />
eaccelerator.shm_prune_period="0"<br />
eaccelerator.shm_only="0"<br />
eaccelerator.compress="1"<br />
eaccelerator.compress_level="9"<br />
</code></p>
<p>5. Create a cache directory</p>
<p><code>mkdir -p /var/cache/eaccelerator<br />
chmod 0777 /var/cache/eaccelerator<br />
</code></p>
<p>5. Restart apache</p>
<p><code>/etc/init.d/apache2 restart<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.debiantutorials.com/installing-eaccelerator/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Running Apache2 virtual hosts as different users with mpm-itk</title>
		<link>http://www.debiantutorials.com/running-apache2-virtual-hosts-as-different-users-with-mpm-itk/</link>
		<comments>http://www.debiantutorials.com/running-apache2-virtual-hosts-as-different-users-with-mpm-itk/#comments</comments>
		<pubDate>Tue, 31 May 2011 10:50:46 +0000</pubDate>
		<dc:creator>aip</dc:creator>
				<category><![CDATA[Lenny]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Squeeze]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[itk]]></category>
		<category><![CDATA[mpm]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.debiantutorials.com/?p=369</guid>
		<description><![CDATA[apache2-mpm-itk is an MPM (Multi-Processing Module) for the Apache web server. mpm-itk allows you to run each of your vhost under a separate uid and gid — in short, the scripts and configuration files for one vhost no longer have to be readable for all the other vhosts. 1. Install the apache2-mpm-itk package apt-get install [...]]]></description>
			<content:encoded><![CDATA[<p>apache2-mpm-itk is an MPM (Multi-Processing Module) for the Apache web server. mpm-itk allows you to run each of your vhost under a separate uid and gid — in short, the scripts and configuration files for one vhost no longer have to be readable for all the other vhosts.</p>
<p>1. Install the apache2-mpm-itk package</p>
<p><code>apt-get install apache2-mpm-itk<br />
</code><span id="more-369"></span></p>
<p>2. Configure user and group for each virtual host by adding the following line somewhere between &lt;VirtualHost *:80&gt;...&lt;/VirtualHost&gt;</p>
<p><code>AssignUserId [user] [group]<br />
</code></p>
<p>Replace [user] and [group] with a username and group name that already exists on the system.</p>
<p>3. Change the owner of the web root</p>
<p><code>chown [user].[group] [location]<br />
</code></p>
<p>Replace [user] and [group] with the username and group name configured on the virtual host. Replace [location] with the location specified as DocumentRoot for the virtual host, eg. /var/www</p>
<p>4. Make sure the location isn't accessible by other users (optional)</p>
<p><code>chmod o= [location]<br />
</code></p>
<p>Replace [location] with the location specified as DocumentRoot for the virtual host, eg. /var/www</p>
<p>5. Restart apache</p>
<p><code>/etc/init.d/apache restart<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.debiantutorials.com/running-apache2-virtual-hosts-as-different-users-with-mpm-itk/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to upgrade to PHP 5.3 on Debian Lenny</title>
		<link>http://www.debiantutorials.com/how-to-install-upgrade-to-php-5-3-on-debian-lenny/</link>
		<comments>http://www.debiantutorials.com/how-to-install-upgrade-to-php-5-3-on-debian-lenny/#comments</comments>
		<pubDate>Mon, 13 Dec 2010 20:55:00 +0000</pubDate>
		<dc:creator>aip</dc:creator>
				<category><![CDATA[Lenny]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[lenny]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.debiantutorials.com/?p=361</guid>
		<description><![CDATA[Dotdeb provides a repository with PHP 5.3 for lenny and it's easy to upgrade: 1. Add these lines to the apt sources (pico /etc/apt/sources.list) deb http://php53.dotdeb.org stable all deb-src http://php53.dotdeb.org stable all 2. Download and import the dotdeb key wget http://www.dotdeb.org/dotdeb.gpg cat dotdeb.gpg &#124; sudo apt-key add - 3. Update apt and dist-upgrade apt-get update [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.dotdeb.org/">Dotdeb</a> provides a repository with PHP 5.3 for lenny and it's easy to upgrade:</p>
<p>1. Add these lines to the apt sources (pico /etc/apt/sources.list)</p>
<p><code>deb http://php53.dotdeb.org stable all<br />
deb-src http://php53.dotdeb.org stable all<br />
</code><span id="more-361"></span></p>
<p>2. Download and import the dotdeb key</p>
<p><code>wget http://www.dotdeb.org/dotdeb.gpg<br />
cat dotdeb.gpg | sudo apt-key add -<br />
</code></p>
<p>3. Update apt and dist-upgrade</p>
<p><code>apt-get update<br />
apt-get dist-upgrade<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.debiantutorials.com/how-to-install-upgrade-to-php-5-3-on-debian-lenny/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Install and configure MailWatch monitoring tool for MailScanner</title>
		<link>http://www.debiantutorials.com/install-and-configure-mailwatch-monitoring-tool-for-mailscanner/</link>
		<comments>http://www.debiantutorials.com/install-and-configure-mailwatch-monitoring-tool-for-mailscanner/#comments</comments>
		<pubDate>Wed, 18 Aug 2010 00:35:59 +0000</pubDate>
		<dc:creator>aip</dc:creator>
				<category><![CDATA[Lenny]]></category>
		<category><![CDATA[Mail]]></category>
		<category><![CDATA[Monitoring]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[mailscanner]]></category>
		<category><![CDATA[mailwatch]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.debiantutorials.com/?p=349</guid>
		<description><![CDATA[MailWatch for MailScanner is a web-based front-end to MailScanner written in PHP, MySQL and JpGraph. It comes with a CustomConfig module for MailScanner which causes MailScanner to log all message data (excluding body text) to a MySQL database which is then queried by MailWatch for reporting and statistics. 1. Install Apache2, MySql server and PHP5 [...]]]></description>
			<content:encoded><![CDATA[<p>MailWatch for MailScanner is a web-based front-end to MailScanner written in PHP, MySQL and JpGraph. It comes with a CustomConfig module for MailScanner which causes MailScanner to log all message data (excluding body text) to a MySQL database which is then queried by MailWatch for reporting and statistics. </p>
<p>1. Install Apache2, MySql server and PHP5 with required modules. You may already have some or all of these packages installed.</p>
<p><code>apt-get install apache2 php5-cli php5 mysql-server libdbd-mysql-perl php5-gd php5-mysql libapache2-mod-php5<br />
</code><span id="more-349"></span></p>
<p>2. Download the latest version of MailWatch</p>
<p><code>wget http://downloads.sourceforge.net/project/mailwatch/mailwatch/1.0.5/mailwatch-1.0.5.tar.gz<br />
</code></p>
<p><em>At the time this tutorial was written, version 1.0.5 was the latest version. Check this location for latest version: http://sourceforge.net/projects/mailwatch/files/</em></p>
<p>3. Extract and enter the mailwatch directory</p>
<p><code>tar zxvf mailwatch-1.0.5.tar.gz<br />
cd mailwatch-1.0.5<br />
</code></p>
<p>4. Create the database and tables</p>
<p><code>mysql -p < create.sql<br />
</code></p>
<p>5. Create a MySql user used for MailScanner logging (mysql -u root -p)</p>
<p><code>GRANT ALL ON mailscanner.* TO '{username}'@'localhost' IDENTIFIED BY '{password}';<br />
FLUSH PRIVILEGES;<br />
</code></p>
<p><em>Replace {username} and {password} with a username and password of choice.</em></p>
<p>6. Configure the MailScanner logger (pico MailWatch.pm)</p>
<p><code>my($db_user) = '{username}';<br />
my($db_pass) = '{password}';<br />
</code></p>
<p><em>On line 43 and 44, input your MySql user created in step 5</em></p>
<p>7. Move the MailScanner logger to correct directory</p>
<p><code>mv MailWatch.pm /usr/share/MailScanner/MailScanner/CustomFunctions/<br />
</code></p>
<p>8. Edit Mail Scanner config to enable MailWatch logger (pico /etc/MailScanner/MailScanner.conf)</p>
<p><code>Always Looked Up Last = &#038;MailWatchLogging<br />
</code></p>
<p>9. Create a MailWatch web admin user (mysql -u root -p)</p>
<p><code>USE mailscanner;<br />
INSERT INTO users VALUES ('{username}',md5('{password}'),'Administrator name','A','0','0','0','0','0');<br />
</code></p>
<p><em>Replace {username} and {password} with a username and password used to enter the web interface.</em></p>
<p>10. Move the web interface to the web server's root</p>
<p><code>mv mailscanner /var/www/mailwatch<br />
</code></p>
<p>11. Make the temp and cache directories writeable</p>
<p><code>chmod 777 /var/www/mailwatch/temp<br />
chmod 777 /var/www/mailwatch/images/cache<br />
</code></p>
<p>12. Copy the example config file</p>
<p><code>mv /var/www/mailwatch/conf.php.example /var/www/mailwatch/conf.php<br />
</code></p>
<p>13. Configure the web interface (pico /var/www/mailwatch/conf.php)</p>
<p><code>define('DB_USER', '{username}');<br />
define('DB_PASS', '{password}');<br />
define('MAILWATCH_HOME', '/var/www/mailscanner');<br />
</code></p>
<p><em>Type the MySql username and password created in step 5</em></p>
<p>14. Install PEAR PHP framework</p>
<p><code>apt-get install php-pear<br />
</code></p>
<p>15. Install required PEAR packages</p>
<p><code>pear install DB<br />
pear install DB_Pager<br />
pear install Mail_mimeDecode<br />
</code></p>
<p>16. On line 37, add /usr/share/php to the mailwatch include path (pico /var/www/mailwatch/functions.php)</p>
<p><code>ini_set('include_path','.:'.MAILWATCH_HOME.'/pear:'.MAILWATCH_HOME.'/fpdf:'.MAILWATCH_HOME.'/xmlrpc:/usr/share/php');<br />
</code></p>
<p>17. Restart Apache and MailScanner</p>
<p><code>/etc/init.d/apache2 restart<br />
/etc/init.d/mailscanner restart<br />
</code></p>
<p>18. You're all set. Enter the web interface at this location http://yourserver/mailwatch</p>
]]></content:encoded>
			<wfw:commentRss>http://www.debiantutorials.com/install-and-configure-mailwatch-monitoring-tool-for-mailscanner/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Installing PEAR framework and packages</title>
		<link>http://www.debiantutorials.com/installing-pear-framework-and-packages/</link>
		<comments>http://www.debiantutorials.com/installing-pear-framework-and-packages/#comments</comments>
		<pubDate>Sun, 15 Aug 2010 17:36:49 +0000</pubDate>
		<dc:creator>aip</dc:creator>
				<category><![CDATA[Lenny]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[pear]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.debiantutorials.net/?p=345</guid>
		<description><![CDATA[PEAR is a framework and distribution system for reusable PHP components. 1. Install the PEAR framework get install php-pear 2. Restart apache /etc/init.d/apace2 restart 3. Install a PEAR package (optional) 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 [...]]]></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>get install php-pear<br />
</code><span id="more-345"></span></p>
<p>2. Restart apache</p>
<p><code>/etc/init.d/apace2 restart<br />
</code></p>
<p>3. Install a PEAR package (optional)</p>
<p><code>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 = 'debiantutorials.com';<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 debiantutorials.com three times and echo the results</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.debiantutorials.com/installing-pear-framework-and-packages/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Install XCache</title>
		<link>http://www.debiantutorials.com/install-xcache/</link>
		<comments>http://www.debiantutorials.com/install-xcache/#comments</comments>
		<pubDate>Fri, 29 Jan 2010 23:08:53 +0000</pubDate>
		<dc:creator>aip</dc:creator>
				<category><![CDATA[Lenny]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[lenny]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[xcache]]></category>

		<guid isPermaLink="false">http://www.debiantutorials.net/?p=233</guid>
		<description><![CDATA[XCache is a fast, stable PHP opcode cacher that has been tested and is now running on production servers under high load. It overcomes a lot of problems that has been with other competing opcachers such as being able to be used with new PHP versions. 1. Installing the XCache package apt-get install php5-xcache 2. [...]]]></description>
			<content:encoded><![CDATA[<p>XCache is a fast, stable  PHP opcode cacher that has been tested and is now running on production servers under high load. It overcomes a lot of problems that has been with other competing opcachers such as being able to be used with new PHP versions.</p>
<p>1. Installing the XCache package</p>
<p><code>apt-get install php5-xcache<br />
</code><span id="more-233"></span></p>
<p>2. Restart Apache</p>
<p><code>/etc/init.d/apache2 restart<br />
</code></p>
<p>That's it. XCache is now installed.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.debiantutorials.com/install-xcache/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing Zend Optimizer</title>
		<link>http://www.debiantutorials.com/installing-zend-optimizer/</link>
		<comments>http://www.debiantutorials.com/installing-zend-optimizer/#comments</comments>
		<pubDate>Sat, 26 Sep 2009 09:26:05 +0000</pubDate>
		<dc:creator>aip</dc:creator>
				<category><![CDATA[Jaunty Jackalope]]></category>
		<category><![CDATA[Karmic Koala]]></category>
		<category><![CDATA[Lenny]]></category>
		<category><![CDATA[Squeeze]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[etch]]></category>
		<category><![CDATA[jaunty]]></category>
		<category><![CDATA[karmic]]></category>
		<category><![CDATA[lenny]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[zend]]></category>

		<guid isPermaLink="false">http://www.debiantutorials.net/?p=109</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 tar zxvf ZendOptimizer-3.3.9-linux-glibc23-i386.tar.gz Replace with your actual filename 3. Create a directory to contain Zend optimizer mkdir /usr/local/lib/Zend 3. Move the [...]]]></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-109"></span></p>
<p>2. Extract</p>
<p><code>cd /tmp<br />
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>mkdir /usr/local/lib/Zend<br />
</code></p>
<p>3. Move the Zend optimizer lib to a permanent location</p>
<p><code>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 (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>/etc/init.d/apache2 restart<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.debiantutorials.com/installing-zend-optimizer/feed/</wfw:commentRss>
		<slash:comments>17</slash:comments>
		</item>
		<item>
		<title>Installing ionCube</title>
		<link>http://www.debiantutorials.com/installing-ioncube/</link>
		<comments>http://www.debiantutorials.com/installing-ioncube/#comments</comments>
		<pubDate>Mon, 18 May 2009 21:57:43 +0000</pubDate>
		<dc:creator>aip</dc:creator>
				<category><![CDATA[Jaunty Jackalope]]></category>
		<category><![CDATA[Karmic Koala]]></category>
		<category><![CDATA[Lenny]]></category>
		<category><![CDATA[Squeeze]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[etch]]></category>
		<category><![CDATA[ioncube]]></category>
		<category><![CDATA[jaunty]]></category>
		<category><![CDATA[karmic]]></category>
		<category><![CDATA[lenny]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://debiantutorials.net/?p=55</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 wget http://downloads.ioncube.com/loader_downloads/ioncube_loaders_lin_x86.tar.gz 2. Extract tar zxvf ioncube_loaders_lin_x86.tar.gz 3. Move to a permanent location mv ioncube /usr/local/ 4. Add reference to your php.ini file (pico /etc/php5/apache2/php.ini) zend_extension = /usr/local/ioncube/ioncube_loader_lin_5.2.so There are a few versions [...]]]></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>wget http://downloads.ioncube.com/loader_downloads/ioncube_loaders_lin_x86.tar.gz<br />
</code><span id="more-55"></span></p>
<p>2. Extract</p>
<p><code>tar zxvf ioncube_loaders_lin_x86.tar.gz<br />
</code></p>
<p>3. Move to a permanent location</p>
<p><code>mv ioncube /usr/local/<br />
</code></p>
<p>4. Add reference to your php.ini file (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 and you can choose the one that suites your needs</em></p>
<p>5. Restart apache</p>
<p><code>/etc/init.d/apache2 restart<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.debiantutorials.com/installing-ioncube/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->
