Foros del Web » Administración de Sistemas » Unix / Linux »

Instalar php 5.2 en red hat 5

Estas en el tema de Instalar php 5.2 en red hat 5 en el foro de Unix / Linux en Foros del Web. Estimados, En si esa es la consulta como puedo instalar el php 5.2 en un red hat 5 porque en los repositorios me da 5.3 ...
  #1 (permalink)  
Antiguo 28/02/2011, 12:15
Avatar de MichaellR  
Fecha de Ingreso: noviembre-2004
Ubicación: Lima - Peru
Mensajes: 85
Antigüedad: 19 años, 5 meses
Puntos: 0
Pregunta Instalar php 5.2 en red hat 5

Estimados,

En si esa es la consulta como puedo instalar el php 5.2 en un red hat 5 porque en los repositorios me da 5.3 y esa version no necesito,

Gracias de antemano
  #2 (permalink)  
Antiguo 01/03/2011, 05:19
 
Fecha de Ingreso: junio-2009
Ubicación: Madrid
Mensajes: 402
Antigüedad: 14 años, 10 meses
Puntos: 20
Respuesta: Instalar php 5.2 en red hat 5

He puesto "install php 5.2 redhat" en Google. About 26,800,000 results (0.08 seconds)

Google?
  #3 (permalink)  
Antiguo 01/03/2011, 06:39
Avatar de ociomax
Colaborador
 
Fecha de Ingreso: mayo-2002
Ubicación: Temuco, Chile
Mensajes: 5.595
Antigüedad: 21 años, 10 meses
Puntos: 35
Respuesta: Instalar php 5.2 en red hat 5

La mayoría de los resultados en Google indican que se debe usar el repositorio de Remi Collet, pero ese repositorio ahora tiene PHP 5.3.

Yo hice un repositorio local para uso interno de la empresa donde trabajo, usando los paquetes antiguos de Remi Collet. Si quieres usarlo, mira en http://wiki.lazos.cl/index.php/Repositorio_LAZOS (sólo la sección "Cliente").
__________________
Christian González, "OCIOMax"
http://chgonzalez.blogspot.com
http://twitter.com/chgonzalez
  #4 (permalink)  
Antiguo 01/03/2011, 09:53
Avatar de MichaellR  
Fecha de Ingreso: noviembre-2004
Ubicación: Lima - Peru
Mensajes: 85
Antigüedad: 19 años, 5 meses
Puntos: 0
Respuesta: Instalar php 5.2 en red hat 5

A si?
y ahi podre encontrar el php 5.2??, si es asi lo configuro ahora mismo.
  #5 (permalink)  
Antiguo 01/03/2011, 11:33
Avatar de ociomax
Colaborador
 
Fecha de Ingreso: mayo-2002
Ubicación: Temuco, Chile
Mensajes: 5.595
Antigüedad: 21 años, 10 meses
Puntos: 35
Respuesta: Instalar php 5.2 en red hat 5

Sí, mira esto: http://repo.lazos.cl/centos/5/i386/repoview/
__________________
Christian González, "OCIOMax"
http://chgonzalez.blogspot.com
http://twitter.com/chgonzalez
  #6 (permalink)  
Antiguo 01/03/2011, 14:41
Avatar de MichaellR  
Fecha de Ingreso: noviembre-2004
Ubicación: Lima - Peru
Mensajes: 85
Antigüedad: 19 años, 5 meses
Puntos: 0
Respuesta: Instalar php 5.2 en red hat 5

Ya, mira agregue el repo y cuando hago el info, me sale lo siguiente:

[root@XXXX yum.repos.d]# yum info php --enablerepo=lazos
Loaded plugins: downloadonly, fastestmirror, rhnplugin, security

Error getting repository data for lazos, repository not found

Algo estare haciendo mal??, mi server es un RedHat 5 en 64bits

Me manda un

Forbidden

You don't have permission to access /centos/5/x86_64/ on this server.

Última edición por MichaellR; 01/03/2011 a las 14:57
  #7 (permalink)  
Antiguo 01/03/2011, 15:15
Avatar de ociomax
Colaborador
 
Fecha de Ingreso: mayo-2002
Ubicación: Temuco, Chile
Mensajes: 5.595
Antigüedad: 21 años, 10 meses
Puntos: 35
Respuesta: Instalar php 5.2 en red hat 5

Cita:
Iniciado por MichaellR Ver Mensaje
(...)
[root@XXXX yum.repos.d]# yum info php --enablerepo=lazos
El nombre está mal. Los repositorios se llaman lazos-noarch, lazos-i386 y lazos-x86_64. Vuelve a leer el wiki.
Cita:
Iniciado por MichaellR Ver Mensaje
(...)You don't have permission to access /centos/5/x86_64/ on this server.[/I]
Si quieres acceder a la interfaz web, tienes que agregar "repoview" a la URL.
__________________
Christian González, "OCIOMax"
http://chgonzalez.blogspot.com
http://twitter.com/chgonzalez
  #8 (permalink)  
Antiguo 01/03/2011, 15:56
Avatar de MichaellR  
Fecha de Ingreso: noviembre-2004
Ubicación: Lima - Peru
Mensajes: 85
Antigüedad: 19 años, 5 meses
Puntos: 0
Respuesta: Instalar php 5.2 en red hat 5

Ok,

Cuando lo hago me sale esto:


[root@256615-DB2 yum.repos.d]# yum info php --enablerepo=lazos-x86_64
Loaded plugins: downloadonly, fastestmirror, rhnplugin, security
Determining fastest mirrors
* epel: serverbeach1.fedoraproject.org
* rackspace-rhel-x86_64-server-5-common: rhnproxy1.iad1.rackspace.com
* rhel-x86_64-server-5: rhnproxy1.iad1.rackspace.com
epel | 3.7 kB 00:00
epel/primary_db | 3.6 MB 00:00
lazos-noarch | 1.9 kB 00:00
lazos-noarch/primary_db | 8.3 kB 00:00
lazos-x86_64 | 1.9 kB 00:00
lazos-x86_64/primary_db | 46 kB 00:02
mod-pagespeed | 951 B 00:00
mod-pagespeed/primary | 1.1 kB 00:00
mod-pagespeed 1/1
rackspace-rhel-x86_64-server-5-common | 1.1 kB 00:00
rackspace-rhel-x86_64-server-5-common/primary | 103 kB 00:00
rackspace-rhel-x86_64-server-5-common 412/412
rhel-x86_64-server-5 | 1.3 kB 00:00
rhel-x86_64-server-5/primary | 3.6 MB 00:00
rhel-x86_64-server-5 10322/10322
Excluding Packages in global exclude list
Finished
Installed Packages
Name : php
Arch : x86_64
Version : 5.3.6
Release : 0.1.RC1.el5.remi
Size : 3.6 M
Repo : installed
Summary : The PHP HTML-embedded scripting language. (PHP: Hypertext Preprocessor)
URL : http://www.php.net/
License : PHP
Description: PHP is an HTML-embedded scripting language. PHP attempts to make it
: easy for developers to write dynamically generated webpages. PHP also
: offers built-in database integration for several commercial and
: non-commercial database management systems, so writing a
: database-enabled webpage with PHP is fairly simple. The most common
: use of PHP coding is probably as a replacement for CGI scripts.
:
: The php package contains the module which adds support for the PHP
: language to Apache HTTP Server.



Actualmente tengo instalado la version 5.3 del PHP
  #9 (permalink)  
Antiguo 01/03/2011, 19:09
Avatar de ociomax
Colaborador
 
Fecha de Ingreso: mayo-2002
Ubicación: Temuco, Chile
Mensajes: 5.595
Antigüedad: 21 años, 10 meses
Puntos: 35
Respuesta: Instalar php 5.2 en red hat 5

Ah, no me había dado cuenta de que ya tenías instalada una versión mayor de PHP. Tienes que desinstalarla con "yum remove php*" antes de instalar la 5.2.
__________________
Christian González, "OCIOMax"
http://chgonzalez.blogspot.com
http://twitter.com/chgonzalez
  #10 (permalink)  
Antiguo 02/03/2011, 15:54
Avatar de MichaellR  
Fecha de Ingreso: noviembre-2004
Ubicación: Lima - Peru
Mensajes: 85
Antigüedad: 19 años, 5 meses
Puntos: 0
Respuesta: Instalar php 5.2 en red hat 5

Ociomax,

Gracias por la info, ya lo pude realizar, y gracias por los repositorios tambien.

Etiquetas: hat, php, red
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 10:09.