Solved

Where can I find the PHP5 RPM for RHEL 5?

Posted on 2008-10-21
13
5,771 Views
Last Modified: 2013-12-16
Hello experts,

Can anyone plz tell me from where i can download php5 for rhel 5? I went to http://www.php.net/downloads.php and download the source code from there but i couldnt unzip it. I searched then the red hat site for a php download and couldnt find anything either. Can anyone be kind enough to give me a link to download it and instructions if necessary?

Thanx in advance.
0
Comment
Question by:stavrama
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
13 Comments
 
LVL 17

Assisted Solution

by:owensleftfoot
owensleftfoot earned 100 total points
ID: 22765057
0
 
LVL 3

Assisted Solution

by:Ricardo Elena
Ricardo Elena earned 100 total points
ID: 22768415
You can download PHP 5 SRPM from official redhat site or centos site
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/5Server/en/os/SRPMS/
rpm --rebuild filename.src.rpm
cd /usr/src/redhat/RPM/

rpm -iv filename.rpm
0
 
LVL 2

Author Comment

by:stavrama
ID: 22810725
I downloaded the rpm for php but when i try to install it, it says  that i miss specific packages. Those are:

1) httpd
2) httpd-mmn
3) libgmp.so.3
4) php-cli
5) php-common

I havent managed to find httpd-mmn and libgmp. However whenever i try to install the other 3 packages then it says that some other packages are missing. For example when i try to install httpd then i get this error message:

warning: httpd-2.2.3-6.el5.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186
error: Failed dependencies:
        libapr-1.so.0 is needed by httpd-2.2.3-6.el5.i386
        libaprutil-1.so.0 is needed by httpd-2.2.3-6.el5.i386

Can anyone help and tell me what i need to do in order to solve this and install php? Do i need to go and download one by one every package that ask me to do? I have seen this happening one more time when i tried to install oracle but i found a solution there when i installed 1 single package and all the dependencies were gone.
0
Don't Cry: How Liquid Web is Ensuring Security

WannaCry is just the start. Read how Liquid Web is protecting itself and its customers against new threats.

 
LVL 2

Author Comment

by:stavrama
ID: 22848617
I still fail to find libgmp and httpd-mmn packages. Can anyone  send me a link with those 2 plz. I remind that i need it for rhel 5
0
 
LVL 2

Author Comment

by:stavrama
ID: 22919638
So far i have installed httpd,  libgmp, php common and php cli. I only miss httpd-mmn in order to install the php package. However i can run now a php script. How is this possible since i haven't installed yet the php rpm? And what is happening with httpd-mmn? I thought that after the installation of httpd, that dependency would have been sorted out.
If i install now the php rpm with --nodeps will it be ok?
0
 
LVL 16

Expert Comment

by:GUEEN
ID: 22923511
What about just using yum to install it via console?

yum install php
0
 
LVL 2

Author Comment

by:stavrama
ID: 22929589
I have done this already but i get the same error:

"Error: Missing Dependency: httpd-mmn = 20051115 is needed by package php"
0
 
LVL 16

Expert Comment

by:GUEEN
ID: 22930122
How about

yum update

yum install httpd


0
 
LVL 16

Expert Comment

by:GUEEN
ID: 22930131
Hold on - first find out if it is installed

 yum list installed httpd
0
 
LVL 2

Author Comment

by:stavrama
ID: 22938408
For the last command you posted i get the following results:

[root@localhost tmp]# yum list installed httpd
Loading "rhnplugin" plugin
Loading "installonlyn" plugin
This system is not registered with RHN.
RHN support will be disabled.
[root@localhost tmp]#
.
0
 
LVL 16

Accepted Solution

by:
GUEEN earned 300 total points
ID: 22938924
Perhaps you need this update?
http://rhn.redhat.com/errata/RHBA-2008-0360.html
0
 
LVL 2

Author Closing Comment

by:stavrama
ID: 31508171
It appears that i can do my job with the packages php-common and php-cli since i dont need the html version of php. Thanx a lot for your help :)
0

Featured Post

Secure Your WordPress Site: 5 Essential Approaches

WordPress is the web's most popular CMS, but its dominance also makes it a target for attackers. Our eBook will show you how to:

Prevent costly exploits of core and plugin vulnerabilities
Repel automated attacks
Lock down your dashboard, secure your code, and protect your users

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question