LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Install PHP (https://www.linuxquestions.org/questions/linux-newbie-8/install-php-4175584648/)

mnaso 07-14-2016 12:17 PM

Install PHP
 
I want to install php on centos 5.8 and I get this problem..

yum install -y php php-mysql pgp-gd php-mbstring
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
* base: centos.aol.com
* extras: mirrors.lga7.us.voxel.net
* updates: mirror.atlanticmetro.net
http://dev.centos.org/centos/5/testi...ry.sqlite.bz2: [Errno -3] Error performing checksum
Trying other mirror.
Error: failure: repodata/8596812757300b1d87f2682aff7d323fdeb5dd8ee28c11009e5980cb5cd4be14-primary.sqlite.bz2 from c5-testing: [Errno 256] No more mirrors to try.

help me in my first post, excuse the English.

greetings to all


Marcelo Naso

knudfl 07-14-2016 12:40 PM

Welcome to LQ.

CentOS 5.8 is an old version, release = 08 March 2012.
If you updated the packages : # yum update
... your OS would be v5.11 : cat /etc/redhat-release

Your "testing" repo http://dev.centos.org/centos/5/testing/i386/
... is now empty, and must be disabled : enable=0


-

mnaso 07-14-2016 04:25 PM

Quote:

Originally Posted by knudfl (Post 5575977)
Welcome to LQ.

CentOS 5.8 is an old version, release = 08 March 2012.
If you updated the packages : # yum update
... your OS would be v5.11 : cat /etc/redhat-release

Your "testing" repo http://dev.centos.org/centos/5/testing/i386/
... is now empty, and must be disabled : enable=0


-

> cat /etc/redhat-release
CentOS release 5.8 (Final)

I need install php and phpmyadmin, becose when put in the browser the follow url

http://5.4.0.3/phpMyAdmin/phpinfo.php

Appear this:

Not Found

The requested URL /phpMyAdmin/phpinfo.php was not found on this server.
Apache/2.2.3 (CentOS) Server at 5.4.0.3 Port 80

knudfl 07-14-2016 06:06 PM

php php-mysql pgp-gd php-mbstring : All packages are available from the base repo.


? Did you disable the faulty testing repo ?

mnaso 07-15-2016 11:28 AM

I don't know, what happens is that the site had installed php 5.1.6 and removed to install a more recent version php, but I could not install the php, once you install phpmyadmin install think. What happens a lot of this, but I can not get it done.


All times are GMT -5. The time now is 05:26 AM.