[PHP] Best way to update PHP on RH 9

2005-09-11 Thread Todd Cary
I have RH 9 on our server and if I try to use a rpm for php-4.3.9 or 
greater, there are many unresolved dependencies.  What is the best way 
around this problem?


Todd

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Best way to update PHP on RH 9

2005-09-11 Thread Greg Donald
On 9/11/05, Todd Cary [EMAIL PROTECTED] wrote:
 I have RH 9 on our server and if I try to use a rpm for php-4.3.9 or
 greater, there are many unresolved dependencies.  What is the best way
 around this problem?

There are at least a couple ways around this problem.

1) Follow the rpm dependencies until you fulfill them all.  There are
lots of great rpm sites around, rpmfind.net, freshrpms.net, etc.  This
option has two possible outcomes:
a) You succeed and finally get your desired PHP version installed.
b) You fail and your box is a mess of mostly-upgraded rpms.

2) Rip out your PHP rpms and install PHP from source.

I don't use rpm based distros much anymore, but I usually go for
option #2 anyway.


-- 
Greg Donald
Zend Certified Engineer
MySQL Core Certification
http://destiney.com/

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] Best way to update PHP on RH 9

2005-09-11 Thread bruce
3rd way...

if you have linux (and you do!) you can get yum.

yum install php

provided you have your yum paths/repos set properly, it'll more or less walk
through the dependency issues for you...

what ever you do, you can/should be expecting that some app will scream that
you're now using a wrong version of php!!!

welcome to dependency hell!!!

-bruce


-Original Message-
From: Greg Donald [mailto:[EMAIL PROTECTED]
Sent: Sunday, September 11, 2005 11:46 AM
To: php-general@lists.php.net
Subject: Re: [PHP] Best way to update PHP on RH 9


On 9/11/05, Todd Cary [EMAIL PROTECTED] wrote:
 I have RH 9 on our server and if I try to use a rpm for php-4.3.9 or
 greater, there are many unresolved dependencies.  What is the best way
 around this problem?

There are at least a couple ways around this problem.

1) Follow the rpm dependencies until you fulfill them all.  There are
lots of great rpm sites around, rpmfind.net, freshrpms.net, etc.  This
option has two possible outcomes:
a) You succeed and finally get your desired PHP version installed.
b) You fail and your box is a mess of mostly-upgraded rpms.

2) Rip out your PHP rpms and install PHP from source.

I don't use rpm based distros much anymore, but I usually go for
option #2 anyway.


--
Greg Donald
Zend Certified Engineer
MySQL Core Certification
http://destiney.com/

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php