<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="es">
	<id>http://wiki.enunpimpam.com/pimpamwiki/index.php?action=history&amp;feed=atom&amp;title=Instalar_PHP5</id>
	<title>Instalar PHP5 - Historial de revisiones</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.enunpimpam.com/pimpamwiki/index.php?action=history&amp;feed=atom&amp;title=Instalar_PHP5"/>
	<link rel="alternate" type="text/html" href="http://wiki.enunpimpam.com/pimpamwiki/index.php?title=Instalar_PHP5&amp;action=history"/>
	<updated>2026-04-06T01:40:34Z</updated>
	<subtitle>Historial de revisiones de esta página en el wiki</subtitle>
	<generator>MediaWiki 1.34.1</generator>
	<entry>
		<id>http://wiki.enunpimpam.com/pimpamwiki/index.php?title=Instalar_PHP5&amp;diff=573&amp;oldid=prev</id>
		<title>Nacho en 00:53 29 abr 2020</title>
		<link rel="alternate" type="text/html" href="http://wiki.enunpimpam.com/pimpamwiki/index.php?title=Instalar_PHP5&amp;diff=573&amp;oldid=prev"/>
		<updated>2020-04-29T00:53:54Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;es&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Revisión anterior&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revisión del 00:53 29 abr 2020&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot; &gt;Línea 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Línea 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[category:&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Rasberry&lt;/del&gt;-pi]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[category:&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Raspberry&lt;/ins&gt;-pi]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;En la versión Linux 9 Stretch, trae la versión PHP7, pero no funcionan todas las aplicaciones escritas en PHP.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;En la versión Linux 9 Stretch, trae la versión PHP7, pero no funcionan todas las aplicaciones escritas en PHP.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Nacho</name></author>
		
	</entry>
	<entry>
		<id>http://wiki.enunpimpam.com/pimpamwiki/index.php?title=Instalar_PHP5&amp;diff=239&amp;oldid=prev</id>
		<title>Nacho: 1 revisión importada</title>
		<link rel="alternate" type="text/html" href="http://wiki.enunpimpam.com/pimpamwiki/index.php?title=Instalar_PHP5&amp;diff=239&amp;oldid=prev"/>
		<updated>2020-04-22T23:42:15Z</updated>

		<summary type="html">&lt;p&gt;1 revisión importada&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;es&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Revisión anterior&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revisión del 23:42 22 abr 2020&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;es&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(Sin diferencias)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Nacho</name></author>
		
	</entry>
	<entry>
		<id>http://wiki.enunpimpam.com/pimpamwiki/index.php?title=Instalar_PHP5&amp;diff=238&amp;oldid=prev</id>
		<title>raspberry-pi&gt;Nacho en 23:14 22 abr 2020</title>
		<link rel="alternate" type="text/html" href="http://wiki.enunpimpam.com/pimpamwiki/index.php?title=Instalar_PHP5&amp;diff=238&amp;oldid=prev"/>
		<updated>2020-04-22T23:14:51Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Página nueva&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[category:Rasberry-pi]]&lt;br /&gt;
En la versión Linux 9 Stretch, trae la versión PHP7, pero no funcionan todas las aplicaciones escritas en PHP.&lt;br /&gt;
&lt;br /&gt;
Asi que puede convenir instalar la version PHP5 en la cual si que funcionan el 100%.&lt;br /&gt;
&lt;br /&gt;
==Añadir repositorios==&lt;br /&gt;
Editar el archivo '''/etc/apt/sources.list''' y agregar el repositorio de jessie al final del archivo como muestro a continuación:&lt;br /&gt;
&lt;br /&gt;
 # Repositorios de Jessie &lt;br /&gt;
 deb http://ftp.debian.org/debian/ jessie main contrib non-free &lt;br /&gt;
 deb-src http://ftp.debian.org/debian/ jessie main contrib non-free &lt;br /&gt;
 deb http://security.debian.org/ jessie/updates main contrib non-free &lt;br /&gt;
 deb-src http://security.debian.org/ jessie/updates main contrib non-free&lt;br /&gt;
&lt;br /&gt;
Ajustaremos las preferencias de nuestros repositorios para que nuestro  sistema sepa como comportarse teniendo dos repositorios de Debian  distintos. Para ello crearemos el archivo &lt;br /&gt;
'''/etc/apt/preferences.d/jessie''' y en el agregaremos lo siguiente:&lt;br /&gt;
 Package: * &lt;br /&gt;
 Pin: release n=stretch &lt;br /&gt;
 Pin-Priority: 900&lt;br /&gt;
&lt;br /&gt;
 Package: * &lt;br /&gt;
 Pin: release n=jessie &lt;br /&gt;
 Pin-Priority: 100&lt;br /&gt;
&lt;br /&gt;
Actualizamos nuestros repositorios ejecutando como root: &lt;br /&gt;
 apt update&lt;br /&gt;
==Instalar PHP5==&lt;br /&gt;
&lt;br /&gt;
 apt install php5 php5-pgsql php5-gd php5-curl php5-cli apache2&lt;br /&gt;
==Forzar Versión==&lt;br /&gt;
En las preferences indicamos que se le diera mayor preferencia a los  paquetes de Debian Stretch, pero cuando instalemos un paquete que no  existe en stretch lo buscara e instalara de Jessie. Podremos también  indicar un paquete desde donde ser instalado con el siguiente método: &lt;br /&gt;
 apt install-t stretch apache2&lt;/div&gt;</summary>
		<author><name>raspberry-pi&gt;Nacho</name></author>
		
	</entry>
</feed>