LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-14-2016, 12:17 PM   #1
mnaso
LQ Newbie
 
Registered: Jul 2016
Posts: 3

Rep: Reputation: Disabled
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
 
Old 07-14-2016, 12:40 PM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
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


-
 
Old 07-14-2016, 04:25 PM   #3
mnaso
LQ Newbie
 
Registered: Jul 2016
Posts: 3

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by knudfl View Post
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
 
Old 07-14-2016, 06:06 PM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

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


? Did you disable the faulty testing repo ?
 
Old 07-15-2016, 11:28 AM   #5
mnaso
LQ Newbie
 
Registered: Jul 2016
Posts: 3

Original Poster
Rep: Reputation: Disabled
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: How to install PHP 7 as PHP-FPM & FastCGI for ISPConfig 3 on Debian 8 (Jessie) LXer Syndicated Linux News 0 12-03-2015 04:22 PM
LXer: How to install PHP 7 (PHP-FPM & FastCGI) for ISPConfig 3 on Debian 8 (Jessie) LXer Syndicated Linux News 0 07-16-2015 03:11 PM
[SOLVED] Am trying to install packages like net-snmp, php-mysql, php-snmp, php but with errors Maj Linux - Newbie 1 07-26-2013 02:12 PM
Getting Error: Missing Dependency: php-common, when trying to install php-soap amish123 Linux - Software 3 02-18-2010 07:26 PM
php/shell script to install mysql,apache and php automatically stranger_6_7 Linux - General 2 08-11-2009 02:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:19 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration