<?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>P0L0&#039;s Blog &#187; cache</title>
	<atom:link href="http://p0l0.binware.org/index.php/tag/cache/feed/" rel="self" type="application/rss+xml" />
	<link>http://p0l0.binware.org</link>
	<description>Opensource Projects and IT experiences</description>
	<lastBuildDate>Sun, 30 Oct 2011 08:39:29 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>PHP5 eAccelerator</title>
		<link>http://p0l0.binware.org/index.php/2007/01/23/php5-eaccelerator/</link>
		<comments>http://p0l0.binware.org/index.php/2007/01/23/php5-eaccelerator/#comments</comments>
		<pubDate>Tue, 23 Jan 2007 19:30:59 +0000</pubDate>
		<dc:creator>P0L0</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[GNU/Linux]]></category>
		<category><![CDATA[cache]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://p0l0.binware.org/index.php/2007/01/23/php5-eaccelerator/</guid>
		<description><![CDATA[Hacia tiempo que queria poner esto, pero nunca me he puesto. eAccelerator es un modulo de php que compila y carga en memoria las aplicaciones php, y con esto consigue que haya una mejora de respuesta y descarga bastante el servidor. Aqui os explico como instalar eAccelerator con PHP5 en una debian. Lo primero que [...]]]></description>
			<content:encoded><![CDATA[<p>Hacia tiempo que queria poner esto, pero nunca me he puesto. eAccelerator es un modulo de php que compila y carga en memoria las aplicaciones php, y con esto consigue que haya una mejora de respuesta y descarga bastante el servidor. Aqui os explico como instalar eAccelerator con PHP5 en una debian.</p>
<p>Lo primero que hay que hacer es descargarse la ultima version de <a title="Download eAccelerator" href="http://sourceforge.net/project/showfiles.php?group_id=122249" target="_blank">eAccelerator</a>, tambien necesitaremos en el server las utilidades de desarrollo de php</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> php5-dev</pre></div></div>

<p>La instalacion es realmente muy sencilla, solo tenemos que descomprimir, compiler, instalar y configurar.</p>
<ul>
<li>Descomprimimos</li>
</ul>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">tar</span> xvfj eaccelerator-0.9.5.tar.bz2</pre></div></div>

<ul>
<li>Compilamos</li>
</ul>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">cd</span> eaccelerator-0.9.5
phpize
.<span style="color: #000000; font-weight: bold;">/</span>configure
<span style="color: #c20cb9; font-weight: bold;">make</span></pre></div></div>

<ul>
<li>Instalamos (nos pondra el modulo en la carpeta de modulos de php)</li>
</ul>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span></pre></div></div>

<ul>
<li>Copiamos la configuracion para que la cargue php</li>
</ul>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">cp</span> eaccelerator.ini <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>php5<span style="color: #000000; font-weight: bold;">/</span>conf.d<span style="color: #000000; font-weight: bold;">/</span></pre></div></div>

<p>Lo primero que hay que hacer en la configuracion es decirle que no es una zend_extension, por lo tanto cambiamos</p>

<div class="wp_syntax"><div class="code"><pre class="ini" style="font-family:monospace;"><span style="color: #000099;">zend_extension</span><span style="color: #000066; font-weight:bold;">=</span><span style="color: #933;">&quot;/usr/lib/php4/eaccelerator.so&quot;</span></pre></div></div>

<p>por</p>

<div class="wp_syntax"><div class="code"><pre class="ini" style="font-family:monospace;"><span style="color: #000099;">extension</span><span style="color: #000066; font-weight:bold;">=</span><span style="color: #933;">&quot;eaccelerator.so&quot;</span></pre></div></div>

<p>Luego yo en la configuracion he dejado todo como venia por defecto excepto</p>

<div class="wp_syntax"><div class="code"><pre class="ini" style="font-family:monospace;">eaccelerator.log_file <span style="color: #000066; font-weight:bold;">=</span> <span style="color: #933;">&quot;/var/log/apache/eaccelerator_log&quot;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://p0l0.binware.org/index.php/2007/01/23/php5-eaccelerator/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

