<?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>TechnoBlog &#187; PHP</title>
	<atom:link href="http://www.technoblog.com.ar/index.php/category/programacion/php/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.technoblog.com.ar</link>
	<description>Blog de tecnologia</description>
	<lastBuildDate>Sun, 30 Dec 2012 21:43:51 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>WordPress anuncia el fin de soporte para PHP 4 y MySQL 4</title>
		<link>http://www.technoblog.com.ar/index.php/2010/07/wordpress-anuncia-el-fin-de-soporte-para-php-4-y-mysql-4/#utm_source=feed&#038;utm_medium=feed&#038;utm_campaign=feed</link>
		<comments>http://www.technoblog.com.ar/index.php/2010/07/wordpress-anuncia-el-fin-de-soporte-para-php-4-y-mysql-4/#comments</comments>
		<pubDate>Fri, 23 Jul 2010 21:16:47 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[MYSQL]]></category>
		<category><![CDATA[Noticias]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.technoblog.com.ar/?p=3716</guid>
		<description><![CDATA[El enfoque de WordPress ha sido siempre la de hacer que se ejecute en las mas variadas configuraciones de servidor, debido a esto WordPress corre casi en cualquier servicio de alojamiento web. Luego de bastante tiempo el equipo de WordPress esta listo para anunciar el fin del soporte para PHP 4 y MySQL 4! WordPress&#8230;<p><a href="http://www.technoblog.com.ar/index.php/2010/07/wordpress-anuncia-el-fin-de-soporte-para-php-4-y-mysql-4/">WordPress anuncia el fin de soporte para PHP 4 y MySQL 4</a> is a post from: <a href="http://www.technoblog.com.ar">TechnoBlog</a></p>
]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;"><span><span><a href="http://www.technoblog.com.ar/wp-content/uploads/2009/12/wordpress-250x250.png#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed"><img class="alignleft size-full wp-image-1224" title="wordpress-250x250" src="http://www.technoblog.com.ar/wp-content/uploads/2009/12/wordpress-250x250.png" alt="" width="105" height="105" /></a>El enfoque de WordPress ha sido siempre la de hacer que se ejecute en las mas variadas configuraciones de servidor, debido a esto</span><span> WordPress corre casi en cualquier servicio de alojamiento web</span><span>. Luego de bastante tiempo el equipo de WordPress </span></span>esta listo para anunciar el fin del soporte para PHP 4 y MySQL 4!</p>
<p style="text-align: justify;"><span><span>WordPress 3.1, prevista para finales de 2010, será la última versión de WordPress con soporte para PHP 4 y Mysql 4.</span></span></p>
<p style="text-align: justify;"><span><span>Para WordPress 3.2, previsto para el primer semestre de 2011, el  minimo requerido sera PHP 5.2 y Mysql 5.0.15</span></span></p>
<p style="text-align: justify;"><span><span>¿Por qué PHP 5.2?</span> <span>Porque eso es lo que la gran mayoría de usuarios de WordPress está utilizando, y ofrece mejoras significativas con respecto a otras versiones de PHP 5.</span> <span>También es el mínimo requisito que tendrá las próximas versiones de </span></span><a href="http://drupal.org/" target="_blank"><span><span>Drupal</span></span></a><span><span> y </span></span><a href="http://www.joomla.org/" target="_blank"><span><span>Joomla</span></span></a><span><span>.</span></span></p>
<p style="text-align: justify;"><span><span>Según las estadísticas solo el 11% de los usuarios están usando versiones de PHP menores a la 5.2 y solo el 6% usan Mysql 4</span></span></p>
<p style="text-align: justify;"><span><span>En resumen: WordPress 3.1, prevista para finales de 2010, será la última versión de WordPress con soporte para PHP 4 y MySQL 4.</span> <span>WordPress 3.2, previsto para el primer semestre de 2011, requerirá de PHP 5.2 o superior y MySQL 5.0.15 o superior.</span></span></p>
<p style="text-align: justify;"><span><span> </span></span><a href="http://coveredwebservices.com/wp-plugin-install/?plugin=health-check" target="_blank"><span><span>Instale el plugin de chequeo</span></span></a><span><span> para ver si está listo!</span></span></p>
<p><a href="http://www.technoblog.com.ar/index.php/2010/07/wordpress-anuncia-el-fin-de-soporte-para-php-4-y-mysql-4/">WordPress anuncia el fin de soporte para PHP 4 y MySQL 4</a> is a post from: <a href="http://www.technoblog.com.ar">TechnoBlog</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.technoblog.com.ar/index.php/2010/07/wordpress-anuncia-el-fin-de-soporte-para-php-4-y-mysql-4/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Como instalar Apache+Mysql+PHP en Ubuntu 10.04</title>
		<link>http://www.technoblog.com.ar/index.php/2010/05/como-instalar-apachemysqlphp-en-ubuntu-10-04/#utm_source=feed&#038;utm_medium=feed&#038;utm_campaign=feed</link>
		<comments>http://www.technoblog.com.ar/index.php/2010/05/como-instalar-apachemysqlphp-en-ubuntu-10-04/#comments</comments>
		<pubDate>Tue, 04 May 2010 22:59:40 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[How To]]></category>
		<category><![CDATA[MYSQL]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.technoblog.com.ar/?p=3173</guid>
		<description><![CDATA[La instalacion se hara desde la consola ya que muchas veces es el unico medio diponible en servidores o cuando se hacen instalaciones mediante el uso de SSH. También hay formas mas sencillas de hacerlo mediante el uso de las herramientas gráficas como pueden ser  Synaptic, KPackageKit y muchas otras utilidades. Como dijimos estos comandos son para Ubuntu así que&#8230;<p><a href="http://www.technoblog.com.ar/index.php/2010/05/como-instalar-apachemysqlphp-en-ubuntu-10-04/">Como instalar Apache+Mysql+PHP en Ubuntu 10.04</a> is a post from: <a href="http://www.technoblog.com.ar">TechnoBlog</a></p>
]]></description>
			<content:encoded><![CDATA[<p><span style="font-family: 'Helvetica Neue', Helvetica, Arial, Geneva, 'MS Sans Serif', sans-serif; line-height: normal;"> </span></p>
<p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0,8em; margin-left: 0px; font-family: 'Helvetica Neue', Helvetica, Arial, Geneva, 'MS Sans Serif', sans-serif; line-height: 19px; text-align: justify; padding: 0px;"><img class="alignleft" src="http://www.technoblog.com.ar/wp-content/uploads/2009/11/virtualhost3.png" alt="" width="203" height="61" />La instalacion se hara desde la consola ya que muchas veces es el unico medio diponible en servidores o cuando se hacen instalaciones mediante el uso de SSH.</p>
<p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0,8em; margin-left: 0px; font-family: 'Helvetica Neue', Helvetica, Arial, Geneva, 'MS Sans Serif', sans-serif; line-height: 19px; text-align: justify; padding: 0px;">También hay formas mas sencillas de hacerlo mediante el uso de las herramientas gráficas como pueden ser  Synaptic, KPackageKit y muchas otras utilidades.</p>
<p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0,8em; margin-left: 0px; font-family: 'Helvetica Neue', Helvetica, Arial, Geneva, 'MS Sans Serif', sans-serif; line-height: 19px; text-align: justify; padding: 0px;">Como dijimos estos comandos son para Ubuntu así que usaremos sudo para ganar privilegios y la utilidad apt-get. <span style="font-family: 'Segoe UI', Calibri, 'Myriad Pro', Myriad, 'Trebuchet MS', Helvetica, Arial, sans-serif;">El proceso es bastante sencillo y rápido desde la consola.</span></p>
<p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0,8em; margin-left: 0px; font-family: 'Helvetica Neue', Helvetica, Arial, Geneva, 'MS Sans Serif', sans-serif; line-height: 19px; text-align: justify; padding: 0px;"><span style="font-family: 'Segoe UI', Calibri, 'Myriad Pro', Myriad, 'Trebuchet MS', Helvetica, Arial, sans-serif;"><span id="more-3173"></span></span></p>
<div id="_mcePaste" style="overflow: hidden; position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px;">apt-get install apache2</div>
<div id="_mcePaste" style="overflow: hidden; position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px;">apt-get install php5</div>
<div id="_mcePaste" style="overflow: hidden; position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px;">apt-get install php5-mysql</div>
<div id="_mcePaste" style="overflow: hidden; position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px;">apt-get install libapache2-mod-auth-mysql</div>
<blockquote>
<h6>sudo apt-get install mysql-server-5.1 apache2 php5 php5-mysql libapache2-mod-auth-mysql</h6>
</blockquote>
<p>Para asegurarnos reiniciamos Mysql y Apache con los comandos</p>
<blockquote>
<h6>sudo /etc/init.d/apache2 restart<br />
sudo service mysql restart</h6>
</blockquote>
<p><span style="background-color: #ffffff;">Para verificar que todo quedo bien instalado pondremos un archivo llamado <strong>info.php </strong>en la carperta <strong>/var/www/</strong> con el siguiente contenido</span></p>
<blockquote>
<h6><span style="background-color: #ffffff;">&lt;?<br />
phpinfo();<br />
?&gt;</span></h6>
</blockquote>
<p><span style="background-color: #ffffff;">Abrimos el navegador de internet y navegamos la URL <strong>http://127.0.0.1/</strong></span><span style="background-color: #ffffff;"><strong>info.php</strong></span><span style="background-color: #ffffff;"> y deberiamos ver algo asi</span></p>
<p><a href="http://www.technoblog.com.ar/wp-content/uploads/2010/05/php_1.png#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed"><img class="alignnone size-full wp-image-3189" title="php_1" src="http://www.technoblog.com.ar/wp-content/uploads/2010/05/php_1.png" alt="" width="562" height="509" /></a></p>
<p><span style="background-color: #ffffff;">en particular para verificar que PHP tenga soporte para Mysql en la zona media tenemos que encontrar un bloque de Mysql parecido al de la imagen que se ve a continuación</span></p>
<p><span style="background-color: #ffffff;"><a href="http://www.technoblog.com.ar/wp-content/uploads/2010/05/php_2.png#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed"><img class="alignnone size-full wp-image-3190" title="php_2" src="http://www.technoblog.com.ar/wp-content/uploads/2010/05/php_2.png" alt="" width="562" height="509" /></a></span></p>
<p><span style="background-color: #ffffff;"><br />
</span></p>
<p><span style="background-color: #ffffff;"><br />
</span></p>
<p><a href="http://www.technoblog.com.ar/index.php/2010/05/como-instalar-apachemysqlphp-en-ubuntu-10-04/">Como instalar Apache+Mysql+PHP en Ubuntu 10.04</a> is a post from: <a href="http://www.technoblog.com.ar">TechnoBlog</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.technoblog.com.ar/index.php/2010/05/como-instalar-apachemysqlphp-en-ubuntu-10-04/feed/</wfw:commentRss>
		<slash:comments>52</slash:comments>
		</item>
		<item>
		<title>Como instalar varias versiones de PHP en la misma maquina</title>
		<link>http://www.technoblog.com.ar/index.php/2010/04/multiples-versiones-de-php-en-la-misma-maquina/#utm_source=feed&#038;utm_medium=feed&#038;utm_campaign=feed</link>
		<comments>http://www.technoblog.com.ar/index.php/2010/04/multiples-versiones-de-php-en-la-misma-maquina/#comments</comments>
		<pubDate>Wed, 14 Apr 2010 22:59:03 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[How To]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.technoblog.com.ar/?p=2983</guid>
		<description><![CDATA[Muchas veces es necesario sobre todo para desarrolladores hacer pruebas con varias versiones de PHP. En este articulo presentamos una manera de instalar tantas versiones de PHP como queramos con la única restricción que obviamente podemos usar una a la vez. Al final hay un script que nos permite fácilmente elegir que versión queremos usar. El&#8230;<p><a href="http://www.technoblog.com.ar/index.php/2010/04/multiples-versiones-de-php-en-la-misma-maquina/">Como instalar varias versiones de PHP en la misma maquina</a> is a post from: <a href="http://www.technoblog.com.ar">TechnoBlog</a></p>
]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.technoblog.com.ar/wp-content/uploads/2010/02/logo_php.gif#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed"></a></p>
<p style="text-align: justify;"><img class="alignleft" src="http://www.technoblog.com.ar/wp-content/uploads/2010/02/logo_php.gif" alt="" width="120" height="67" />Muchas veces es necesario sobre todo para desarrolladores hacer pruebas con varias versiones de PHP. En este articulo presentamos una manera de instalar tantas versiones de PHP como queramos con la única restricción que obviamente podemos usar una a la vez.</p>
<p style="text-align: justify;">Al final hay un script que nos permite fácilmente elegir que versión queremos usar. El primer paso es instalar Apache, Mysql y todos los paquetes de desarrollo que necesitaremos para compilar PHP. Cabe aclarar que según los parámetros que le pasemos al configure podemos necesitar mas paquetes. Para este ejemplo haremos la instalación mas simple solo con soporte de Mysql. instalaremos las versiones de PHP 5.3.2, 5.2.13 y 4.4.9. Y se asume que haremos la instalación en KUbuntu 9.10 y con un usuario prueba que tiene permiso para hacer sudo.</p>
<p style="text-align: justify;">En mi instalación de KUbuntu 9.10 el archivo /etc/apache2/httpd.conf esta vacío  y la instalación de PHP requiere que por lo menos tenga una sentencia Load Module así que le agregamos las siguientes lineas (En caso que contenga  alguna sentencia LoadModule saltear este paso)</p>
<blockquote>
<h6># Dummy LoadModule directive to aid module installations<br />
#LoadModule dummy_module /usr/lib/apache2/modules/mod_dummy.so</h6>
</blockquote>
<p><span id="more-2983"></span></p>
<p>Instalamos los paquetes requeridos usando</p>
<h6>
<blockquote><p>sudo apt-get install flex apache2-threaded-dev libxml2-dev apache2 apache2-mpm-prefork apache2-threaded-dev apache2-utils apache2.2-bin apache2.2-common libapache2-mod-auth-mysql mysql-server-5.1</p></blockquote>
</h6>
<p>Descargamos y descompactamos las tres versiones de PHP</p>
<h6>
<blockquote><p>mkdir /home/prueba/sources<br />
cd /home/prueba/sources<br />
wget http://www.php.net/get/php-5.3.2.tar.gz/from/ar.php.net/mirror<br />
wget http://www.php.net/get/php-4.4.9.tar.gz/from/this/mirror<br />
wget http://www.php.net/get/php-5.2.13.tar.gz/from/this/mirror<br />
tar -xvzf php-5.2.13.tar.gz<br />
tar -xvzf php-4.4.9.tar.gz<br />
tar -xvzf php-5.3.2.tar.gz</p></blockquote>
</h6>
<p>Compilamos  e instalamos PHP 5.3.2 (Verificar que no se produce ningún error durante la compilación e instalación)</p>
<blockquote>
<h6>cd /home/prueba/sources/php-5.3.2/<br />
sudo ./configure --prefix=/usr/local/php/php_5.3.2 --with-apxs2=/usr/bin/apxs2 --with-mysql<br />
sudo make<br />
sudo make install<br />
sudo cp php.ini-recommended /usr/local/php/php_5.3.2/lib/php.ini<br />
sudo mkdir /usr/local/php/php_5.3.2/modules<br />
sudo mv /usr/lib/apache2/modules/libphp5.so /usr/local/php/php_5.3.2/modules</h6>
</blockquote>
<p>Compilamos  e instalamos PHP 5.2.13 (Verificar que no se produce ningún error durante la compilación e instalación)</p>
<h6>
<blockquote>
<div>cd /home/prueba/sources/php-5.2.13/<br />
sudo ./configure --prefix=/usr/local/php/php_5.2.13 --with-apxs2=/usr/bin/apxs2 --with-mysql<br />
sudo make<br />
sudo make install<br />
sudo cp php.ini-recommended /usr/local/php/php_5.2.13/lib/php.ini<br />
sudo mkdir /usr/local/php/php_5.2.13/modules<br />
sudo mv /usr/lib/apache2/modules/libphp5.so /usr/local/php/php_5.2.13/modules</div>
</blockquote>
</h6>
<p>Compilamos  e instalamos PHP 4.4.9 (Verificar que no se produce ningún error durante la compilación e instalación)</p>
<blockquote>
<h6>cd /home/prueba/sources/php-4.4.9/<br />
sudo ./configure --prefix=/usr/local/php/php_4.4.9 --with-apxs2=/usr/bin/apxs2 --with-mysql<br />
sudo make<br />
sudo make install<br />
sudo cp php.ini-recommended /usr/local/php/php_4.4.9/lib/php.ini<br />
sudo mkdir /usr/local/php/php_4.4.9/modules<br />
sudo mv /usr/lib/apache2/modules/libphp4.so /usr/local/php/php_4.4.9/modules</h6>
</blockquote>
<p style="text-align: justify;">Creamos los archivos de configuración de cada versión. Es probable que las lineas que contienen LoadModule sea necesario correrlas de a una.</p>
<blockquote>
<h6>sudo touch /usr/local/php/php5.3.2.conf<br />
sudo touch /usr/local/php/php4.4.9.conf<br />
sudo touch /usr/local/php/php5.2.13.conf<br />
sudo echo 'LoadModule php5_module /usr/local/php/php_5.3.2/modules/libphp5.so' | sudo tee /usr/local/php/php5.3.2.conf &gt; /dev/null<br />
sudo echo 'LoadModule php5_module /usr/local/php/php_5.2.13/modules/libphp5.so' | sudo tee /usr/local/php/php5.2.13.conf &gt; /dev/null<br />
sudo echo 'LoadModule php4_module /usr/local/php/php_4.4.9/modules/libphp4.so' | sudo tee /usr/local/php/php4.4.9.conf &gt; /dev/null<br />
sudo ln -s /usr/local/php/php5.3.2.conf /etc/apache2/php.conf</h6>
</blockquote>
<p style="text-align: justify;">Para finalizar editamos el archivo /etc/apache2/httpd.conf eliminamos la lineas que contienen <strong>LoadModule php5</strong> y <strong>LoadModule php4</strong>. Luego al final agregamos la siguiente linea</p>
<blockquote style="text-align: justify;">
<h6 style="text-align: justify;">Include /etc/apache2/php.conf</h6>
</blockquote>
<p style="text-align: justify;">Generamos el script con el que arrancaremos las distintas versiones para esto hacemos</p>
<blockquote style="text-align: justify;">
<h6>sudo touch /bin/php.sh<br />
sudo chmod 744 /bin/php.sh</h6>
</blockquote>
<p style="text-align: justify;">Lo editamos y le agregamos el siguiente contenido</p>
<blockquote style="text-align: justify;">
<h6>#!/bin/bash<br />
opcion=0<br />
cat &lt;&lt; CABECERAMENU<br />
Opciones del menu<br />
1 =&gt; PHP 4.4.9<br />
2 =&gt; PHP 5.2.13<br />
3 =&gt; PHP 5.3.2</h6>
<h6>CABECERAMENU<br />
echo -n "Ingrese su eleccion: "<br />
read opcion<br />
echo<br />
case $opcion in<br />
"1")<br />
rm /etc/apache2/php.conf<br />
ln -s /usr/local/php/php4.4.9.conf /etc/apache2/php.conf<br />
/etc/init.d/apache2 restart<br />
;;<br />
"2")<br />
rm /etc/apache2/php.conf<br />
ln -s /usr/local/php/php5.2.13.conf /etc/apache2/php.conf<br />
/etc/init.d/apache2 restart<br />
;;<br />
"3")<br />
rm /etc/apache2/php.conf<br />
ln -s /usr/local/php/php5.3.2.conf /etc/apache2/php.conf<br />
/etc/init.d/apache2 restart<br />
;;<br />
*)<br />
echo "Opcion no valida"<br />
;;<br />
esac</h6>
</blockquote>
<p style="text-align: justify;">Cuando ejecutemos el comando</p>
<h6 style="text-align: justify;">
<blockquote><p>sudo /bin/php.sh</p></blockquote>
</h6>
<p style="text-align: justify;">Veremos una pantalla como la que sigue.</p>
<p style="text-align: justify;"><a href="http://www.technoblog.com.ar/wp-content/uploads/2010/04/php_multiple.png#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed"><img class="alignnone size-full wp-image-2992" title="php_multiple" src="http://www.technoblog.com.ar/wp-content/uploads/2010/04/php_multiple.png" alt="" width="172" height="104" /></a></p>
<p style="text-align: justify;">Ingresamos el numero (1,2,3) del  PHP que queremos usar y presionamos enter con lo que se reiniciara apache con la versión elegida.</p>
<p style="text-align: justify;">Para verificar que funcione creamos una archivo info.php  en /var/www con el sichiente contenido</p>
<blockquote>
<h6 style="text-align: justify;">&lt;?php<br />
phpinfo();<br />
?&gt;</h6>
</blockquote>
<p>Si navegamos la dirección http://127.0.0.1/info.php deberíamos ver algo asi</p>
<p><img class="alignnone" src="http://www.technoblog.com.ar/wp-content/uploads/2009/10/apache_php1.png" alt="" width="619" height="484" /></p>
<p><a href="http://www.technoblog.com.ar/index.php/2010/04/multiples-versiones-de-php-en-la-misma-maquina/">Como instalar varias versiones de PHP en la misma maquina</a> is a post from: <a href="http://www.technoblog.com.ar">TechnoBlog</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.technoblog.com.ar/index.php/2010/04/multiples-versiones-de-php-en-la-misma-maquina/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Como saber la configuración de PHP desde la consola</title>
		<link>http://www.technoblog.com.ar/index.php/2010/03/como-saber-la-configuracion-de-php-desde-la-consola/#utm_source=feed&#038;utm_medium=feed&#038;utm_campaign=feed</link>
		<comments>http://www.technoblog.com.ar/index.php/2010/03/como-saber-la-configuracion-de-php-desde-la-consola/#comments</comments>
		<pubDate>Fri, 12 Mar 2010 00:28:29 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Destacados]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.technoblog.com.ar/?p=2757</guid>
		<description><![CDATA[Muchas veces que necesitamos saber como esta configurado php podemos valernos de la función phpinfo() y navegando cualquier pagina que llame a esa funcion obtenemos todos los parámetros de configuración. Sin embargo otras veces necesitamos o simplemente no es mas cómodo hacerlo a través de la consola. Para esto podemos usar el comando php de la linea de comandos. Por ejemplo si&#8230;<p><a href="http://www.technoblog.com.ar/index.php/2010/03/como-saber-la-configuracion-de-php-desde-la-consola/">Como saber la configuración de PHP desde la consola</a> is a post from: <a href="http://www.technoblog.com.ar">TechnoBlog</a></p>
]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;"><a href="http://www.technoblog.com.ar/wp-content/uploads/2010/02/logo_php.gif#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed"><img class="alignleft size-full wp-image-2404" title="logo_php" src="http://www.technoblog.com.ar/wp-content/uploads/2010/02/logo_php.gif" alt="" width="120" height="67" /></a>Muchas veces que necesitamos saber como esta configurado php podemos valernos de la función phpinfo() y navegando cualquier pagina que llame a esa funcion obtenemos todos los parámetros de configuración.</p>
<p style="text-align: justify;">Sin embargo otras veces necesitamos o simplemente no es mas cómodo hacerlo a través de la consola. Para esto podemos usar el comando <strong>php</strong> de la linea de comandos.</p>
<p style="text-align: justify;">Por ejemplo si queremos ver la version de PHP instalada</p>
<blockquote style="text-align: justify;">
<h6>php -v</h6>
</blockquote>
<p style="text-align: justify;">nos devuelve</p>
<blockquote style="text-align: justify;">
<h6>PHP 5.3.1 (cli) (built: Feb 15 2010 17:27:14)</h6>
<h6>Copyright (c) 1997-2009 The PHP Group</h6>
<h6>Zend Engine v2.3.0, Copyright (c) 1998-2009 Zend Technologies</h6>
<h6>PHP 5.3.1 (cli) (built: Feb 15 2010 17:27:14)Copyright (c) 1997-2009 The PHP GroupZend Engine v2.3.0, Copyright (c) 1998-2009 Zend Technologies</h6>
</blockquote>
<p style="text-align: justify;"><span id="more-2757"></span></p>
<p style="text-align: justify;">Si queremos ver el valor de algún parámetro en particular podemos usar</p>
<blockquote style="text-align: justify;">
<h6>php -i | grep register_global</h6>
</blockquote>
<p style="text-align: justify;">nos devolverá</p>
<blockquote style="text-align: justify;">
<h6>register_globals =&gt; Off =&gt; Off</h6>
</blockquote>
<div style="text-align: justify;">Si queremos ver información de una función usamos</div>
<div style="text-align: justify;">
<blockquote>
<h6>php --rf date</h6>
</blockquote>
</div>
<div style="text-align: justify;">que devolverá</div>
<h6 style="text-align: justify;">
<blockquote>
<div>Function [ &lt;internal:date&gt; function date ] {</div>
<div>- Parameters [2] {</div>
<div>Parameter #0 [ &lt;required&gt; $format ]</div>
<div>Parameter #1 [ &lt;optional&gt; $timestamp ]</div>
<div>}</div>
<div>}</div>
</blockquote>
<div><span style="text-transform: none; font-size: 13px;">Si queremos ver la configuracion de algun modulo usamos</span></div>
</h6>
<blockquote style="text-align: justify;">
<h6>php --ri mysql</h6>
</blockquote>
<div style="text-align: justify;">que devolverá</div>
<h6 style="text-align: justify;">
<blockquote>
<div>MySQL Support =&gt; enabled</div>
<div>Active Persistent Links =&gt; 0</div>
<div>Active Links =&gt; 0</div>
<div>Client API version =&gt; 5.1.36</div>
<div>MYSQL_MODULE_TYPE =&gt; external</div>
<div>MYSQL_SOCKET =&gt; /var/run/mysql/mysql.sock</div>
<div>MYSQL_INCLUDE =&gt; -I/usr/include/mysql</div>
<div>MYSQL_LIBS =&gt; -L/usr/lib -lmysqlclient</div>
<div>Directive =&gt; Local Value =&gt; Master Value</div>
<div>mysql.allow_persistent =&gt; Off =&gt; Off</div>
<div>mysql.max_persistent =&gt; Unlimited =&gt; Unlimited</div>
<div>mysql.max_links =&gt; Unlimited =&gt; Unlimited</div>
<div>mysql.default_host =&gt; no value =&gt; no value</div>
<div>mysql.default_user =&gt; no value =&gt; no value</div>
<div>mysql.default_password =&gt; no value =&gt; no value</div>
<div>mysql.default_port =&gt; no value =&gt; no value</div>
<div>mysql.default_socket =&gt; /var/run/mysql/mysql.sock =&gt; /var/run/mysql/mysql.sock</div>
<div>mysql.connect_timeout =&gt; 60 =&gt; 60</div>
<div>mysql.trace_mode =&gt; Off =&gt; Off</div>
<div>mysql.allow_local_infile =&gt; On =&gt; On</div>
</blockquote>
<div><span style="text-transform: none; font-size: 13px;">Si queremos ver los módulos instalados usamos</span></div>
</h6>
<blockquote style="text-align: justify;">
<h6>php -m</h6>
</blockquote>
<p style="text-align: justify;">que nos devuelve la lista</p>
<h6 style="text-align: justify;">
<blockquote>
<div id="_mcePaste">[PHP Modules]</div>
<div id="_mcePaste">bz2</div>
<div id="_mcePaste">Core</div>
<div id="_mcePaste">ctype</div>
<div id="_mcePaste">curl</div>
<div id="_mcePaste">date</div>
<div id="_mcePaste">dom</div>
<div id="_mcePaste">ereg</div>
<div id="_mcePaste">filter</div>
<div id="_mcePaste">gd</div>
<div id="_mcePaste">hash</div>
<div id="_mcePaste">iconv</div>
<div id="_mcePaste">json</div>
<div id="_mcePaste">libxml</div>
<div id="_mcePaste">mbstring</div>
<div id="_mcePaste">mcrypt</div>
<div id="_mcePaste">mhash</div>
<div id="_mcePaste">mysql</div>
<div id="_mcePaste">mysqli</div>
<div id="_mcePaste">pcre</div>
<div id="_mcePaste">PDO</div>
<div id="_mcePaste">pdo_mysql</div>
<div id="_mcePaste">pdo_sqlite</div>
<div id="_mcePaste">Reflection</div>
<div id="_mcePaste">session</div>
<div id="_mcePaste">SimpleXML</div>
<div id="_mcePaste">SPL</div>
<div id="_mcePaste">SQLite</div>
<div id="_mcePaste">sqlite3</div>
<div id="_mcePaste">standard</div>
<div id="_mcePaste">tokenizer</div>
<div id="_mcePaste">xml</div>
<div id="_mcePaste">xmlreader</div>
<div id="_mcePaste">xmlwriter</div>
<div id="_mcePaste">zlib</div>
</blockquote>
</h6>
<p style="text-align: justify;">Para ver mas opciones</p>
<h6 style="text-align: justify;">
<blockquote>
<p style="text-align: justify;">php --help</p>
</blockquote>
</h6>
<p><a href="http://www.technoblog.com.ar/index.php/2010/03/como-saber-la-configuracion-de-php-desde-la-consola/">Como saber la configuración de PHP desde la consola</a> is a post from: <a href="http://www.technoblog.com.ar">TechnoBlog</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.technoblog.com.ar/index.php/2010/03/como-saber-la-configuracion-de-php-desde-la-consola/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nueva version de PHP 5.3.2 Liberada</title>
		<link>http://www.technoblog.com.ar/index.php/2010/03/nueva-version-de-php-5-3-2-liberada/#utm_source=feed&#038;utm_medium=feed&#038;utm_campaign=feed</link>
		<comments>http://www.technoblog.com.ar/index.php/2010/03/nueva-version-de-php-5-3-2-liberada/#comments</comments>
		<pubDate>Sat, 06 Mar 2010 22:23:55 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Noticias]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.technoblog.com.ar/?p=2689</guid>
		<description><![CDATA[El equipo de desarrollo de PHP está orgulloso de anunciar la liberación inmediata de PHP 5.3.2. Esta es una versión de mantenimiento en la serie 5.3, que incluye un gran número de correcciones de errores. Mejoras en la seguridad en PHP 5.3.2: Entropía LCG mejorada. (The Rasmus, Samy Kamkar) Se arreglo la validación de  safe_mode dentro de&#8230;<p><a href="http://www.technoblog.com.ar/index.php/2010/03/nueva-version-de-php-5-3-2-liberada/">Nueva version de PHP 5.3.2 Liberada</a> is a post from: <a href="http://www.technoblog.com.ar">TechnoBlog</a></p>
]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;"><a href="http://www.technoblog.com.ar/wp-content/uploads/2010/02/logo_php.gif#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed"><img class="alignleft size-full wp-image-2404" title="logo_php" src="http://www.technoblog.com.ar/wp-content/uploads/2010/02/logo_php.gif" alt="" width="120" height="67" /></a>El equipo de desarrollo de PHP está orgulloso de anunciar la liberación inmediata de PHP 5.3.2. Esta es una versión de mantenimiento en la serie 5.3, que incluye un gran número de correcciones de errores.</p>
<p style="text-align: justify;">
<p style="text-align: justify;">
<p style="text-align: justify;"><strong>Mejoras en la seguridad en PHP 5.3.2:</strong></p>
<ul style="text-align: justify;">
<li>Entropía LCG mejorada. (The Rasmus, Samy Kamkar)</li>
<li>Se arreglo la validación de  safe_mode dentro de tempnam () cuando la ruta del directorio no termina con una / (Martin Jansen)</li>
<li>Se ha corregido un posible open_basedir / safe_mode bypass en la extensión de sesiones identificados por Grzegorz Stachowiak. (Ilia)</li>
</ul>
<p><span id="more-2689"></span></p>
<p style="text-align: justify;"><strong>Corrección de Errores en PHP 5.3.2:</strong></p>
<ul style="text-align: justify;">
<li>Añadido soporte para SHA-256 y SHA-512 para php's crypt..</li>
<li>Protección adicional de $ _SESSION de interrupt corruption y la mejora de la validación de "session.save_path".</li>
<li>Arreglado bug #51059 (crypt crashes when invalid salt are given).</li>
<li>Arreglado bug #50940 Custom content-length set incorrectly in Apache sapis.</li>
<li>Arreglado bug #50847 (strip_tags() removes all tags greater then 1023 bytes long).</li>
<li>Arreglado bug #50723 (Bug in garbage collector causes crash).</li>
<li>Arreglado bug #50661 (DOMDocument::loadXML does not allow UTF-16).</li>
<li>Arreglado bug #50632 (filter_input() does not return default value if the variable does not exist).</li>
<li>Arreglado bug #50540 (Crash while running ldap_next_reference test cases).</li>
<li>Arreglado bug #49851 (http wrapper breaks on 1024 char long headers).</li>
</ul>
<p style="text-align: justify;">Para los usuarios que actualicen desde PHP 5.2 hay una guía de migración disponible <a href="http://php.net/migration53#googtrans/auto/es" target="_blank">aquí</a>, detallando los cambios entre las emisiones y PHP 5.3.</p>
<p style="text-align: justify;"><strong>Más información y descargas:</strong></p>
<p style="text-align: justify;">Para obtener una lista completa de los cambios en PHP 5.3.2, consulte el <a href="http://www.php.net/ChangeLog-5.php#5.3.2" target="_blank">Registro de cambios</a>. Para las descargas de fuente, por favor visite nuestra <a href="http://www.php.net/downloads.php" target="_blank">página de descargas</a>, los binarios de Windows se pueden encontrar en <a href="http://windows.php.net/download/" target="_blank">windows.php.net/download/</a>.</p>
<p><a href="http://www.technoblog.com.ar/index.php/2010/03/nueva-version-de-php-5-3-2-liberada/">Nueva version de PHP 5.3.2 Liberada</a> is a post from: <a href="http://www.technoblog.com.ar">TechnoBlog</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.technoblog.com.ar/index.php/2010/03/nueva-version-de-php-5-3-2-liberada/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Primeras Charlas del Grupo PHP Argentina</title>
		<link>http://www.technoblog.com.ar/index.php/2010/02/primeras-charlas-del-grupo-php-argentina/#utm_source=feed&#038;utm_medium=feed&#038;utm_campaign=feed</link>
		<comments>http://www.technoblog.com.ar/index.php/2010/02/primeras-charlas-del-grupo-php-argentina/#comments</comments>
		<pubDate>Tue, 23 Feb 2010 20:27:21 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Eventos]]></category>
		<category><![CDATA[Noticias]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.technoblog.com.ar/?p=2526</guid>
		<description><![CDATA[Fecha: Sábado, 06 de marzo de 2010 Hora: 9:30 - 15:00 Lugar: Hotel Las Naciones &#124; Corrientes 818 2º piso &#124; Buenos Aires &#124; C1043AAV &#124; Argentina El Grupo PHP Argentina, se complace en ofrecer las primeras charlas organizadas por miembros del grupo. En este evento, se ofrecerán una diversidad de tópicos con el objetivo de compartir conocimiento, sumar miembros&#8230;<p><a href="http://www.technoblog.com.ar/index.php/2010/02/primeras-charlas-del-grupo-php-argentina/">Primeras Charlas del Grupo PHP Argentina</a> is a post from: <a href="http://www.technoblog.com.ar">TechnoBlog</a></p>
]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;"><a href="http://www.technoblog.com.ar/wp-content/uploads/2010/02/logo_php.gif#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed"><img class="alignleft size-full wp-image-2404" title="logo_php" src="http://www.technoblog.com.ar/wp-content/uploads/2010/02/logo_php.gif" alt="" width="120" height="67" /></a>Fecha: <strong>Sábado, 06 de marzo de 2010</strong></p>
<p style="text-align: justify;">Hora: <strong>9:30 - 15:00</strong><br />
Lugar: <strong>Hotel Las Naciones | Corrientes 818 2º piso </strong>| Buenos Aires | C1043AAV | Argentina</p>
<p style="text-align: justify;">El <strong>Grupo PHP Argentina</strong>, se complace en ofrecer las primeras charlas organizadas por miembros del grupo. En este evento, se ofrecerán una diversidad de tópicos con el objetivo de compartir conocimiento, sumar miembros y afianzar los lazos de la comunidad.</p>
<p>Agenda</p>
<p>09:30 - 09:40 | Acreditación<br />
09:40 - 09:55 | Presentacion del Grupo PHP<br />
10:00 - 10:40 | Introducción a POO / UML / PHP5 - Enrique Place<br />
10:45 - 11:25 | Optimización y escalabilidad - Matías Montes<br />
11:30 - 12:10 | Desarrollo de aplicaciones en Facebook - Matías Paterlini</p>
<p><span id="more-2526"></span><br />
12:10 - 12:30 | BREAK<br />
12:35 - 13:15 | Introducción al Estándar de Codificación de Zend - Enrique Place<br />
13:20 - 14:00 | Lithium, framework PHP 5.3 que pega como piña - Mariano Iglesias<br />
14:05 - 14:45 | Cormo Framework ex ORMphp - Germán Peraferrer<br />
14:50 - 15:00 | Mensaje de cierre</p>
<p>Para registrarse y/o tener más información sobre los disertantes, ingresar a:</p>
<p><a href="http://grupophp1.eventbrite.com/" target="_blank">http://grupophp1.eventbrite.com/</a></p>
<p><a href="http://www.technoblog.com.ar/index.php/2010/02/primeras-charlas-del-grupo-php-argentina/">Primeras Charlas del Grupo PHP Argentina</a> is a post from: <a href="http://www.technoblog.com.ar">TechnoBlog</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.technoblog.com.ar/index.php/2010/02/primeras-charlas-del-grupo-php-argentina/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Como deshabilitar funciones en PHP (Seguridad)</title>
		<link>http://www.technoblog.com.ar/index.php/2010/02/momo-deshabilitar-funciones-en-php/#utm_source=feed&#038;utm_medium=feed&#038;utm_campaign=feed</link>
		<comments>http://www.technoblog.com.ar/index.php/2010/02/momo-deshabilitar-funciones-en-php/#comments</comments>
		<pubDate>Fri, 19 Feb 2010 03:03:46 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Destacados]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Seguridad]]></category>

		<guid isPermaLink="false">http://www.technoblog.com.ar/?p=2390</guid>
		<description><![CDATA[Una punto interesante para hacer mas segura nuestra instalación de PHP es deshabilitar las funciones consideradas mas peligrosas en php siempre y cuando nuestras aplicaciones no las utilicen. Esto es muy simple de hacer desde el archivo php.ini mediante la directiva disable_functions. El primer paso para realizar esto es localizar el archivo php.ini que esta&#8230;<p><a href="http://www.technoblog.com.ar/index.php/2010/02/momo-deshabilitar-funciones-en-php/">Como deshabilitar funciones en PHP (Seguridad)</a> is a post from: <a href="http://www.technoblog.com.ar">TechnoBlog</a></p>
]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;"><a href="http://www.technoblog.com.ar/wp-content/uploads/2010/02/logo_php.gif#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed"><img class="alignleft size-full wp-image-2404" title="logo_php" src="http://www.technoblog.com.ar/wp-content/uploads/2010/02/logo_php.gif" alt="" width="120" height="67" /></a>Una punto interesante para hacer mas segura nuestra instalación de PHP es deshabilitar las funciones consideradas mas peligrosas en php siempre y cuando nuestras aplicaciones no las utilicen.</p>
<p style="text-align: justify;">Esto es muy simple de hacer desde el archivo php.ini mediante la directiva <strong>disable_functions</strong>. El primer paso para realizar esto es localizar el archivo php.ini que esta usando nuestro php. Para esto usamos el siguiente comando logueado como root o si corresponde usando sudo (Ubuntu, Debian o similar)</p>
<blockquote style="text-align: justify;">
<h6>find / -name php.ini</h6>
</blockquote>
<p style="text-align: justify;">Supongamos en nuestro ejemplo que estuviera en /etc/php5/apache2/php.ini procedemos a editarlo con nuestro editor favorito por ejemplo.</p>
<p style="text-align: justify;"><span id="more-2390"></span></p>
<blockquote style="text-align: justify;">
<h6>gedit /etc/php5/apache2/php.ini</h6>
</blockquote>
<p style="text-align: justify;">Una vez en el editor buscamos la directiva <strong>disable_functions </strong>y la reemplazamos por lo siguiente</p>
<blockquote style="text-align: justify;">
<h6>disable_functions ="phpinfo"</h6>
</blockquote>
<p style="text-align: justify;">En caso de no encontrar la directiva la agregamos al final del archivo. Entre las comillas colocaremos la lista separada por comas de las funciones que queremos deshabilitar. En este caso deshabilitamos phpinfo pero podría deshabilitarse cualquiera.</p>
<p style="text-align: justify;">Si ejecutamos la función desde un script de php el mensaje de error es por demás claro así que fácilmente nos daremos cuenta si deshabilitamos algo demás</p>
<blockquote style="text-align: justify;">
<h6><strong>Warning</strong>: phpinfo() has been disabled for security reasons in <strong>/var/www/index.php</strong> on line <strong>2</strong></h6>
</blockquote>
<p style="text-align: justify;">Encontramos en internet listas de funciones mas "<a href="http://www.eukhost.com/forums/f42/disabling-dangerous-php-functions-6020/" target="_blank">conservadoras</a>"</p>
<blockquote style="text-align: justify;">
<h6 style="text-align: justify;">disable_functions ="apache_child_terminate, apache_setenv, define_syslog_variables, escapeshellarg, escapeshellcmd, eval, exec, fp, fput, ftp_connect, ftp_exec, ftp_get, ftp_login, ftp_nb_fput, ftp_put, ftp_raw, ftp_rawlist, highlight_file, ini_alter, ini_get_all, ini_restore, inject_code, mysql_pconnect, openlog, passthru, php_uname, phpAds_remoteInfo, phpAds_XmlRpc, phpAds_xmlrpcDecode, phpAds_xmlrpcEncode, popen, posix_getpwuid, posix_kill, posix_mkfifo, posix_setpgid, posix_setsid, posix_setuid, posix_setuid, posix_uname, proc_close, proc_get_status, proc_nice, proc_open, proc_terminate, shell_exec, syslog, system, xmlrpc_entity_decode"</h6>
</blockquote>
<p style="text-align: justify;">o mas "<a href="http://rm-rf.es/php-deshabilitar-funciones-peligrosas/" target="_blank">arriesgadas</a>"</p>
<blockquote style="text-align: justify;">
<h6>disable_functions ="system, passthru, escapeshellarg, escapeshellcmd, proc_close,proc_open, ini_alter, popen, show_source, pcntl_exec"</h6>
</blockquote>
<p style="text-align: justify;">pero tendremos que analizar bien en cada caso cuales decidimos deshabilitar. No obstante es una practica muy recomendable ya que las funciones mas  peligrosas son las que casi nunca se usan.</p>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 509px; width: 1px; height: 1px; overflow: hidden;"><span class="Apple-style-span" style="border-collapse: separate; color: #000000; font-family: 'Times New Roman'; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; font-size: medium;"><span class="Apple-style-span" style="color: #333333; font-family: arial,verdana,sans-serif; font-size: 13px; line-height: 18px; text-align: justify;"></p>
<pre style="margin: 5px 0px 8px; padding: 11px; color: #181818; background-color: #e0e0e0; overflow: auto; border: 1px 1px 1px 4px solid #c0c0c0;">disable_functions ="system,passthru,escapeshellarg,escapeshellcmd,proc_close,proc_open,ini_alter,popen,show_source,pcntl_exec"</pre>
<p></span></span></div>
<p><a href="http://www.technoblog.com.ar/index.php/2010/02/momo-deshabilitar-funciones-en-php/">Como deshabilitar funciones en PHP (Seguridad)</a> is a post from: <a href="http://www.technoblog.com.ar">TechnoBlog</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.technoblog.com.ar/index.php/2010/02/momo-deshabilitar-funciones-en-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Como instalar Apache+Mysql+PHP en Centos 5.4</title>
		<link>http://www.technoblog.com.ar/index.php/2010/02/como-instalar-apachemysqlphp-en-ubuntu-5-4/#utm_source=feed&#038;utm_medium=feed&#038;utm_campaign=feed</link>
		<comments>http://www.technoblog.com.ar/index.php/2010/02/como-instalar-apachemysqlphp-en-ubuntu-5-4/#comments</comments>
		<pubDate>Sat, 06 Feb 2010 22:28:48 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[Centos]]></category>
		<category><![CDATA[How To]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[MYSQL]]></category>

		<guid isPermaLink="false">http://www.technoblog.com.ar/?p=2142</guid>
		<description><![CDATA[En este articulo veremos como montar un servidor web en un sistema Centos 5.4. Como servidor Web usaremos Apache, como base de datos Mysql y como lenguaje de programación PHP5. La instalación se hará desde la consola ya que muchas veces no disponemos de acceso a un entorno gráfico sobre todo si hacemos la instalación&#8230;<p><a href="http://www.technoblog.com.ar/index.php/2010/02/como-instalar-apachemysqlphp-en-ubuntu-5-4/">Como instalar Apache+Mysql+PHP en Centos 5.4</a> is a post from: <a href="http://www.technoblog.com.ar">TechnoBlog</a></p>
]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;"><a href="http://www.technoblog.com.ar/wp-content/uploads/2010/02/centos_icon_60.png#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed"><img class="alignleft size-full wp-image-2144" style="margin-top: 0px; margin-bottom: 10px; margin-left: 0px; margin-right: 10px;" title="centos_icon_60" src="http://www.technoblog.com.ar/wp-content/uploads/2010/02/centos_icon_60.png" alt="" width="100" height="100" /></a>En este articulo veremos como montar un servidor web en un sistema Centos 5.4. Como servidor Web usaremos Apache, como base de datos Mysql y como lenguaje de programación PHP5.</p>
<p style="text-align: justify;">La instalación se hará desde la consola ya que muchas veces no disponemos de acceso a un entorno gráfico sobre todo si hacemos la instalación en forma remota usando SSH.</p>
<p style="text-align: justify;">Utilizaremos para la instalación el comando yum que baja de los repositorios de Centos los paquetes y los instala automáticamente.</p>
<p style="text-align: justify;"><span id="more-2142"></span>El primer paso es instalar Mysql mediante el siguiente comando</p>
<blockquote style="text-align: justify;">
<h6>yum install mysql mysql-server</h6>
</blockquote>
<p style="text-align: justify;">una vez instalado lo configuramos para que inicie automáticamente con</p>
<blockquote style="text-align: justify;">
<h6>chkconfig --levels 235 mysqld on</h6>
</blockquote>
<p style="text-align: justify;">y lo arrancamos con</p>
<blockquote style="text-align: justify;">
<h6>/etc/init.d/mysqld start</h6>
</blockquote>
<p style="text-align: justify;">Luego instalamos Apache con</p>
<blockquote>
<h6>yum install httpd</h6>
</blockquote>
<p>una vez instalado lo configuramos para que inicie automáticamente con</p>
<blockquote>
<h6>chkconfig --levels 235 httpd on</h6>
</blockquote>
<p>y lo arrancamos con</p>
<blockquote>
<h6>/etc/init.d/httpd start</h6>
</blockquote>
<p style="text-align: justify;">En este punto si navegamos la dirección de servidor tendríamos que ver algo así</p>
<p style="text-align: justify;"><a href="http://www.technoblog.com.ar/wp-content/uploads/2010/02/Pantallazo0.png#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed"><img class="alignnone size-full wp-image-2147" title="Pantallazo0" src="http://www.technoblog.com.ar/wp-content/uploads/2010/02/Pantallazo0.png" alt="" width="620" height="476" /></a></p>
<p style="text-align: justify;">Ahora instalamos  PHP y lo vinculamos a Apache usando</p>
<blockquote style="text-align: justify;">
<h6>yum install php</h6>
</blockquote>
<p style="text-align: justify;">Reiniciamos Apache usando</p>
<blockquote style="text-align: justify;">
<h6>/etc/init.d/httpd start</h6>
</blockquote>
<p style="text-align: justify;">Generamos un archivo para probar que PHP funciona correctamente usando</p>
<blockquote style="text-align: justify;">
<h6>touch /var/www/html/info.php<br />
echo '&lt;?php phpinfo(); ?&gt;' &gt; /var/www/html/info.php</h6>
</blockquote>
<p style="text-align: justify;">Si  navegamos la URL http://direccion server/info.php tenemos que ver lo siguiente</p>
<p style="text-align: justify;"><a href="http://www.technoblog.com.ar/wp-content/uploads/2010/02/Pantallazo2.png#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed"><img class="alignnone size-full wp-image-2148" title="Pantallazo2" src="http://www.technoblog.com.ar/wp-content/uploads/2010/02/Pantallazo2.png" alt="" width="552" height="620" /></a></p>
<p style="text-align: justify;">Para finalizar nos resta agregar soporte de mysql a php usando el siguiente comando</p>
<blockquote style="text-align: justify;">
<h6>yum install php-mysql</h6>
</blockquote>
<p style="text-align: justify;">Reiniciamos Apache usando</p>
<blockquote style="text-align: justify;">
<h6>/etc/init.d/httpd start</h6>
</blockquote>
<p style="text-align: justify;">Si  navegamos la URL http://direccion server/info.php tenemos que ver en la parte media de la pagina lo siguiente</p>
<p style="text-align: justify;"><a href="http://www.technoblog.com.ar/wp-content/uploads/2010/02/Pantallazo3.png#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed"><img class="alignnone size-full wp-image-2149" title="Pantallazo3" src="http://www.technoblog.com.ar/wp-content/uploads/2010/02/Pantallazo3.png" alt="" width="620" height="614" /></a></p>
<p style="text-align: justify;">
<p style="text-align: justify;">
<p><a href="http://www.technoblog.com.ar/index.php/2010/02/como-instalar-apachemysqlphp-en-ubuntu-5-4/">Como instalar Apache+Mysql+PHP en Centos 5.4</a> is a post from: <a href="http://www.technoblog.com.ar">TechnoBlog</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.technoblog.com.ar/index.php/2010/02/como-instalar-apachemysqlphp-en-ubuntu-5-4/feed/</wfw:commentRss>
		<slash:comments>30</slash:comments>
		</item>
		<item>
		<title>Facebook presentó Hip Hop para PHP</title>
		<link>http://www.technoblog.com.ar/index.php/2010/02/facebook-presento-hip-hop-para-php/#utm_source=feed&#038;utm_medium=feed&#038;utm_campaign=feed</link>
		<comments>http://www.technoblog.com.ar/index.php/2010/02/facebook-presento-hip-hop-para-php/#comments</comments>
		<pubDate>Wed, 03 Feb 2010 02:52:06 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Noticias]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.technoblog.com.ar/?p=2084</guid>
		<description><![CDATA[Tal y como se rumoreaba Facebook presento Hip Hop para PHP. Según el ingeniero Haiping Zhao permitió reducir el uso de CPU  en un promedio de alrededor de cincuenta por ciento, dependiendo de la página. Segun sus creadores HipHop para PHP no es técnicamente un compilador. Más bien es un transformador de código fuente. HipHop transforma el código fuente PHP&#8230;<p><a href="http://www.technoblog.com.ar/index.php/2010/02/facebook-presento-hip-hop-para-php/">Facebook presentó Hip Hop para PHP</a> is a post from: <a href="http://www.technoblog.com.ar">TechnoBlog</a></p>
]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;"><a href="http://www.technoblog.com.ar/wp-content/uploads/2010/02/HipHop_logo_white.png#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed"><img class="alignleft size-full wp-image-2085" title="HipHop_logo_white" src="http://www.technoblog.com.ar/wp-content/uploads/2010/02/HipHop_logo_white.png" alt="" width="119" height="156" /></a>Tal y como se rumoreaba Facebook presento Hip Hop para PHP. Según el ingeniero Haiping Zhao permitió reducir el uso de CPU  en un promedio de alrededor de cincuenta por ciento, dependiendo de la página.</p>
<p style="text-align: justify;">Segun sus creadores HipHop para PHP no es técnicamente un compilador. Más bien es un transformador de código fuente. HipHop transforma el código fuente PHP en altamente optimizado C ++ y luego usa g ++ para compilarlo. Ejecuta el código fuente de una manera semánticamente equivalente y sacrificia algunos rasgos que rara vez se utiliza - como eval () - a cambio de un mejor rendimiento. HipHop incluye un transformador de código, una reimplementación del sistema de ejecución de PHP, y una reescritura de las extensiones de PHP para tomar ventaja de estas optimizaciones de rendimiento.</p>
<p style="text-align: justify;">Hip Hop fue lanzando como código abierto con la esperanza de que aporte un nuevo enfoque para escalar páginas web complejas con PHP.</p>
<p style="text-align: justify;"><span id="more-2084"></span></p>
<p style="text-align: justify;">Haiping Zhao considera que si bien HipHop ha mostrado resultados increíbles ciertamente no esta completo y deber ser tomado como software beta.</p>
<p style="text-align: justify;">Fuente y mas información <span style="color: #551a8b;"><span style="text-decoration: underline;">aquí</span></span></p>
<p><a href="http://www.technoblog.com.ar/index.php/2010/02/facebook-presento-hip-hop-para-php/">Facebook presentó Hip Hop para PHP</a> is a post from: <a href="http://www.technoblog.com.ar">TechnoBlog</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.technoblog.com.ar/index.php/2010/02/facebook-presento-hip-hop-para-php/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Como instalar Cherokee+Mysql+PHP en Ubuntu 9.10</title>
		<link>http://www.technoblog.com.ar/index.php/2010/01/como-instalar-cherokeemysqlphp-en-ubuntu-9-10/#utm_source=feed&#038;utm_medium=feed&#038;utm_campaign=feed</link>
		<comments>http://www.technoblog.com.ar/index.php/2010/01/como-instalar-cherokeemysqlphp-en-ubuntu-9-10/#comments</comments>
		<pubDate>Fri, 08 Jan 2010 16:44:34 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Cherokee]]></category>
		<category><![CDATA[How To]]></category>
		<category><![CDATA[MYSQL]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.technoblog.com.ar/?p=1587</guid>
		<description><![CDATA[Como conté hace unos días tuve que instalar un web server y decidí probar Lighttpd. El ver lo bien que anda me movió a ver que otros había disponibles y me encontré con Cherokee. Cherokee nos brinda una manera rápida, flexible y fácil de configurar el Servidor Web. Soporta las tecnologías generalizadas hoy en día: FastCGI, SCGI, PHP, CGI, uWSGI, SSI, TLS y conexiones&#8230;<p><a href="http://www.technoblog.com.ar/index.php/2010/01/como-instalar-cherokeemysqlphp-en-ubuntu-9-10/">Como instalar Cherokee+Mysql+PHP en Ubuntu 9.10</a> is a post from: <a href="http://www.technoblog.com.ar">TechnoBlog</a></p>
]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;"><a href="http://www.technoblog.com.ar/wp-content/uploads/2010/01/logo.png#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed"><img class="alignleft size-full wp-image-1589" style="margin-top: 0px; margin-bottom: 5px; margin-left: 0px; margin-right: 15px;" title="logo" src="http://www.technoblog.com.ar/wp-content/uploads/2010/01/logo.png" alt="" width="243" height="70" /></a>Como conté hace unos días tuve que instalar un web server y decidí probar Lighttpd. El ver lo bien que anda me movió a ver que otros había disponibles y me encontré con Cherokee.</p>
<p style="text-align: justify;">Cherokee nos brinda una manera rápida, flexible y fácil de configurar el Servidor Web. Soporta las tecnologías generalizadas hoy en día: FastCGI, SCGI, PHP, CGI, uWSGI, SSI, TLS y conexiones SSL encriptadas, hosts virtuales, autenticación, codificación en tiempo real, balanceo de carga, archivos de registro compatibles con Apache,  Reverse Proxy HTTP, Traffic Shaper, Video Streaming y mucho más.</p>
<p style="text-align: justify;">Otra de sus ventajas es Cherokee-Admin, una interfaz fácil de usar, y que nos brinda la configuración del servidor sin complicaciones</p>
<p style="text-align: justify;"><span id="more-1587"></span></p>
<p style="text-align: justify;">En este articulo describiremos como instalar Cherokee + PHP + Mysql en un entorno Ubuntu 9.10.</p>
<p style="text-align: justify;">Instalamos Mysql usando</p>
<blockquote>
<h6>sudo apt-get install mysql-server mysql-client</h6>
</blockquote>
<p style="text-align: justify;">Luego instalamos Cherokee</p>
<blockquote>
<h6>sudo apt-get install cherokee</h6>
</blockquote>
<p style="text-align: justify;">Si en este punto abrimos el navegador de internet y navegamos la URL <strong>http://127.0.0.1 </strong>deberíamos ver la pantalla de prueba de Cherokee</p>
<p style="text-align: justify;"><a href="http://www.technoblog.com.ar/wp-content/uploads/2010/01/cherokee1.png#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed"><img class="alignnone size-full wp-image-1591" title="cherokee1" src="http://www.technoblog.com.ar/wp-content/uploads/2010/01/cherokee1.png" alt="" width="486" height="610" /></a></p>
<p style="text-align: justify;">Luego instalamos PHP y su soporte para Mysql usando</p>
<blockquote style="text-align: justify;">
<h6>sudo apt-get install php5-cgi php5-mysql</h6>
</blockquote>
<p style="text-align: justify;">Editamos el archivo /etc/php5/cgi/php.ini y colocaremos en 1 la siguiente entrada</p>
<blockquote style="text-align: justify;">
<h6>cgi.fix_pathinfo = 1</h6>
</blockquote>
<p style="text-align: justify;">Para hacer que Cherokee utilice PHP usaremos la interfaz de configuracion del web server. Para esto ejecutamos en la consola</p>
<blockquote style="text-align: justify;">
<h6>sudo cherokee-admin -b</h6>
</blockquote>
<p style="text-align: justify;">que nos devolverá la dirección que tenemos que navegar y con que usuario y contraseña entrar</p>
<blockquote style="text-align: justify;">
<h6>Login:<br />
ser:                            admin<br />
ne-time Password:     QU6miXIKK90pnxvG<br />
Web Interface:<br />
URL:               http://localhost:9090/<br />
Cherokee Web Server 0.99.19 (Aug 29 2009): Listening on port ALL:9090, TLS<br />
disabled, IPv6 disabled, using epoll, 1024 fds system limit, max. 505<br />
connections, caching I/O, single thread</h6>
</blockquote>
<p style="text-align: justify;">Si Navegamos  http://127.0.0.1:9090/ y nos logueamos con los datos que nos da el comando anterior veremos la siguiente pantalla</p>
<div><a href="http://www.technoblog.com.ar/wp-content/uploads/2010/01/cherokee2.png#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed"><img class="alignnone size-full wp-image-1593" title="cherokee2" src="http://www.technoblog.com.ar/wp-content/uploads/2010/01/cherokee2.png" alt="" width="598" height="409" /></a></div>
<p style="text-align: justify;">Vamos al menu Servidores Virtuales</p>
<div><a href="http://www.technoblog.com.ar/wp-content/uploads/2010/01/cherokee3.png#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed"><img class="alignnone size-full wp-image-1594" title="cherokee3" src="http://www.technoblog.com.ar/wp-content/uploads/2010/01/cherokee3.png" alt="" width="589" height="331" /></a></div>
<p style="text-align: justify;">Hacemos click en el servidor virtual default</p>
<div><a href="http://www.technoblog.com.ar/wp-content/uploads/2010/01/cherokee4.png#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed"><img class="alignnone size-full wp-image-1595" title="cherokee4" src="http://www.technoblog.com.ar/wp-content/uploads/2010/01/cherokee4.png" alt="" width="589" height="330" /></a></div>
<p style="text-align: justify;">Hacemos Cick en el botón Wizards Y una vez ahí hacemos click en la categoría Misc</p>
<div><a href="http://www.technoblog.com.ar/wp-content/uploads/2010/01/cherokee5.png#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed"><img class="alignnone size-full wp-image-1596" title="cherokee5" src="http://www.technoblog.com.ar/wp-content/uploads/2010/01/cherokee5.png" alt="" width="589" height="473" /></a></div>
<p style="text-align: justify;">Hacemos click en el link "Run Wizard"</p>
<p><a href="http://www.technoblog.com.ar/wp-content/uploads/2010/01/cherokee6.png#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed"><img class="alignnone size-full wp-image-1597" title="cherokee6" src="http://www.technoblog.com.ar/wp-content/uploads/2010/01/cherokee6.png" alt="" width="589" height="492" /></a></p>
<p><a href="http://www.technoblog.com.ar/wp-content/uploads/2010/01/cherokee6.png#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed"></a></p>
<p style="text-align: justify;">Finalmente Presionamos el botón Guardar. Para verificar que todo quedo bien instalado pondremos un archivo llamado <strong>info.php </strong>en la carperta <strong>/var/www/</strong> con el siguiente contenido</p>
<blockquote>
<h6>&lt;?<br />
phpinfo();<br />
?&gt;</h6>
</blockquote>
<p style="text-align: justify;">Abrimos el navegador de internet y navegamos la URL <strong>http://127.0.0.1</strong> y deberiamos ver algo asi</p>
<p><a href="http://www.technoblog.com.ar/wp-content/uploads/2010/01/cherokee8.png#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed"><img class="alignnone size-full wp-image-1598" title="cherokee8" src="http://www.technoblog.com.ar/wp-content/uploads/2010/01/cherokee8.png" alt="" width="543" height="527" /></a></p>
<p style="text-align: justify;">
Y si nos desplazamos hacia la mitad de la pantalla tendríamos que ver el bloque de mysql como se ve a continuación.</p>
<p><a href="http://www.technoblog.com.ar/wp-content/uploads/2010/01/cherokee9.png#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed"><img class="alignnone size-full wp-image-1599" title="cherokee9" src="http://www.technoblog.com.ar/wp-content/uploads/2010/01/cherokee9.png" alt="" width="543" height="527" /></a></p>
<p><a href="http://www.technoblog.com.ar/index.php/2010/01/como-instalar-cherokeemysqlphp-en-ubuntu-9-10/">Como instalar Cherokee+Mysql+PHP en Ubuntu 9.10</a> is a post from: <a href="http://www.technoblog.com.ar">TechnoBlog</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.technoblog.com.ar/index.php/2010/01/como-instalar-cherokeemysqlphp-en-ubuntu-9-10/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
	</channel>
</rss>
