LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-11-2010, 04:58 PM   #1
DavidLGraham
LQ Newbie
 
Registered: Apr 2010
Posts: 3

Rep: Reputation: 0
PHP setup using rpm


We are trying to setup a server using RH Linux 5, PHP 5.2.9 and MySql 5.0.89. We are using a package called php-fdftk. When I try to install the rpm ( php-fdftk-4.3.10-2.4.2.i386.rpm) I get the following errors:
php >= 4.3.10 is needed by php-fdftk-4.3.10-2.4.2.i386
When I try to install the php.4.3.10 (php-4.3.9-2.i386.rpm) package I get the following errors:
error: Failed dependencies:
httpd-mmn = 20020903 is needed by php-4.3.9-2.i386
libcurl.so.2 is needed by php-4.3.9-2.i386

I've seen a lot on httpd-mmn and I'm quite confused. How can I either resolve this or get rpm to ignore it.

Also, we currently have libcurl.so.3 installed and cannot go back (too many dependencies). What to do?

Also, we have similar setups on other servers which have no problems. The only problem is that the people who installed the other servers have left and left no documentation on what they did to get things to work.

Any assistance is greatly appreciated.
 
Old 04-11-2010, 05:06 PM   #2
smoker
Senior Member
 
Registered: Oct 2004
Distribution: Fedora Core 4, 12, 13, 14, 15, 17
Posts: 2,279

Rep: Reputation: 250Reputation: 250Reputation: 250
use yum
 
Old 04-11-2010, 06:31 PM   #3
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,465

Rep: Reputation: 2606Reputation: 2606Reputation: 2606Reputation: 2606Reputation: 2606Reputation: 2606Reputation: 2606Reputation: 2606Reputation: 2606Reputation: 2606Reputation: 2606
Quote:
RH Linux 5
you are running RHEL5

use the red hat repos YOU PAYED FOR
This is what yum was designed to do , solve the dependencies problems.

and also cal ( yes on the phone) your paid for tech support
you did buy a license to use red hat ? right?
 
Old 04-11-2010, 06:50 PM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2020 CentOS6.10 CentOS7.7 + 50+ other Linux OS, for test only.
Posts: 17,322

Rep: Reputation: 3581Reputation: 3581Reputation: 3581Reputation: 3581Reputation: 3581Reputation: 3581Reputation: 3581Reputation: 3581Reputation: 3581Reputation: 3581Reputation: 3581
Your php-fdftk package : Old files used in EL 4.
And it is probably not a Redhat product : no support.
http://rpm.pbone.net/index.php3/stat....i386.rpm.html
The source code was : php-4.3.9-3.2.1.src.rpm
Not usable with php-5.2.x


Some suggestions here for adding fdf support to php-5.2.x :
http://jheslop.com/2007/10/18/adding...-under-debian/

http://stackoverflow.com/questions/1...file-using-php

Google .. fdf in new php .. ( Or .. fdf in php ..)
.....

Last edited by knudfl; 04-11-2010 at 07:04 PM.
 
Old 04-12-2010, 11:53 AM   #5
DavidLGraham
LQ Newbie
 
Registered: Apr 2010
Posts: 3

Original Poster
Rep: Reputation: 0
Using FDFTK with PHP 5

So far thanks for the replies.
John VV: Yes we have a license - using a web hosting facility.
Knudfl - Thanks. Knew that. Tried that.
smoker - yum doesn't know a thing about the toolkit.

Still looking for some useful information on how to force either YUM or RPM to use the package.
Found an answer to the httpd-mmn issue. Seems an odd way to manage software releases. Looks like the php libraries need to be installed before the apache server is setup. Bummer.

Thanks to all so far. Still searching.
 
Old 04-12-2010, 04:24 PM   #6
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,465

Rep: Reputation: 2606Reputation: 2606Reputation: 2606Reputation: 2606Reputation: 2606Reputation: 2606Reputation: 2606Reputation: 2606Reputation: 2606Reputation: 2606Reputation: 2606
that rpm is WAY to old php-fdftk-4.3.10-2.4.2.i386
http://rpm.pbone.net/index.php3/stat....i386.rpm.html
it is from " Date : 2004-12-25 05:45:37 "
2004 it is 6 years out of date.

you DO NOT install it on a current RHEL: 5.4 ( or 5.5 ) install -- you can not .
this very old rpm for RHEL 3 and 4 NOT RHEL 5

it requires a RHEL 4 install .also rhel4 is about to hit end of life .
 
Old 04-13-2010, 10:41 PM   #7
DavidLGraham
LQ Newbie
 
Registered: Apr 2010
Posts: 3

Original Poster
Rep: Reputation: 0
Well thanks to all. I think I've been able to do what I wanted to. Had to go around the block a few times but finally got rpm to install the php-fdftk rpm.
Users are will be testing this evening.

Cheers!
 
  


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
Postfixadmin PHP setup file - only displays PHP code davidmbecker Linux - Software 3 04-17-2008 11:33 AM
Easy Rpm for PHP? wh33t Fedora 3 01-12-2007 03:08 AM
How do i make my own php rpm? Ratclaws Linux - Newbie 1 12-02-2005 09:07 PM
setup webserver w/o rpm ziggie216 Linux - Software 2 05-24-2004 11:30 PM
php-4.2.4 RPM RH 9.0 Blackrose_1100 Red Hat 0 11-18-2003 04:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:03 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration