Need php-devel for php-5.1.6-23.2 on RHEL Workstation
Red HatThis forum is for the discussion of Red Hat Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Need php-devel for php-5.1.6-23.2 on RHEL Workstation
Hi All,
I am trying to install Horde on RHEL Workstation.
Horde requires some php modules compiled using pecl.
pecl is in php-devel and php-devel does not come
with RHEL WS (which is completely inexplicable).
I can only find php-devel-5.1.6-27.el5.i386.rpm
But the php that comes with RHEL WS is at 5.1.6-23.2.
So when I try to install php-devel, I get:
Code:
php = 5.1.6-27.el5 is needed by package php-devel-5.1.6-27.el5.i386
I could upgrade php directly from a package, but I thought it would
be cleaner to simply install the correct version of php-devel. So I
would like to find php-devel-5.1.6-23*.el5.i386.rpm.
I checked RedHat and CentOS and alot of Google with no luck.
Does anyone have this package? Or know where I could get it?
php-devel-5.1.6-23.el5.i386 from /php-devel-5.1.6-23.el5.i386 has depsolving problems
--> Missing Dependency: php = 5.1.6-23.el5 is needed by package php-devel-5.1.6-23.el5.i386 (/php-devel-5.1.6-23.el5.i386)
Error: Missing Dependency: php = 5.1.6-23.el5 is needed by package php-devel-5.1.6-23.el5.i386 (/php-devel-5.1.6-23.el5.i386)
I don't understand this at all. Can anyone explain why it still doesn't work? Is it the missing
".i386" in the name for php??
php-devel-5.1.6-23.el5.i386 from /php-devel-5.1.6-23.el5.i386 has depsolving problems
--> Missing Dependency: php = 5.1.6-23.el5 is needed by package php-devel-5.1.6-23.el5.i386 (/php-devel-5.1.6-23.el5.i386)
Error: Missing Dependency: php = 5.1.6-23.el5 is needed by package php-devel-5.1.6-23.el5.i386 (/php-devel-5.1.6-23.el5.i386)
I don't understand this at all. Can anyone explain why it still doesn't work? Is it the missing
".i386" in the name for php??
Cheers,
Geoff
No, you've got packages missing. Install them, with the "yum install" command. But if you're not paying for RHEL support, you won't be able to get the missing packages.
# yum install /home/user/php-devel-5.1.6-23.el5.i386.rpm
Loaded plugins: rhnplugin, security
Setting up Install Process
Examining /home/user/php-devel-5.1.6-23.el5.i386.rpm: php-devel-5.1.6-23.el5.i386
Marking /home/user/php-devel-5.1.6-23.el5.i386.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package php-devel.i386 0:5.1.6-23.el5 set to be updated
--> Processing Dependency: php = 5.1.6-23.el5 for package: php-devel
--> Finished Dependency Resolution
php-devel-5.1.6-23.el5.i386 from /php-devel-5.1.6-23.el5.i386 has depsolving problems
--> Missing Dependency: php = 5.1.6-23.el5 is needed by package php-devel-5.1.6-23.el5.i386 (/php-devel-5.1.6-23.el5.i386)
Error: Missing Dependency: php = 5.1.6-23.el5 is needed by package php-devel-5.1.6-23.el5.i386 (/php-devel-5.1.6-23.el5.i386)
The error doesn't make sense to me because php = 5.1.6-23.el5 is installed.... Isn't it?
It would seem to be, yes. You can try to install the package with "--nodeps", and it should go right in. But the best solution would be to call RedHat support. You downloaded a package from a different source, when you could download it right from RedHat, which could be the reason for a dependency problem.
I tried using rpm. It appeared to work: there were no errors reported. But then there was no
output at all indicating anything changed. The meta-data were there when I did yum list installed php-devel.
But there was no sign that the package really did install. I couldn't locate any pecl or pear files
using find at all. So "removed" it again afterwards.
I've opened a ticket with RedHat asking them why I can't get php-devel from RHN.
RedHat informed me that php-devel is in a "sub-channel" of the RHEL workstation subscription.
After subscribing to the sub-channel, #yum install php-devel worked.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.