Koozali.org: home of the SME Server

trouble upgrading php

Graeme Robinson

trouble upgrading php
« on: August 04, 2001, 06:26:48 AM »
I'm trying to upgrade php 4.03 to 4.04 so I can use gallery but am stymied:
Any feedback appreciated.

-=-=-=-=-=-attempt to install 4.0.5 update-=-=-=-=-=-=-=-=-=--=-

bash-2.04$ sudo rpm -Uvh http://rpms.arvin.dk/php/install-ready/i686/php-4.0.5-2
.arvin.i686.rpm
Retrieving http://rpms.arvin.dk/php/install-ready/i686/php-4.0.5-2.arvin.i686.rp
m

error: failed dependencies:
        php = 4.0.3pl1-1 is needed by mod_php-4.0.3pl1-1
        php = 4.0.3pl1-1 is needed by php-imap-4.0.3pl1-1
        php = 4.0.3pl1-1 is needed by php-ldap-4.0.3pl1-1
        php = 4.0.3pl1-1 is needed by php-mysql-4.0.3pl1-1

bash-2.04$ sudo rpm -Uvh --nodeps http://rpms.arvin.dk/php/install-ready/i686/ph
p-4.0.5-2.arvin.i686.rpm
Retrieving http://rpms.arvin.dk/php/install-ready/i686/php-4.0.5-2.arvin.i686.rp
m
file /var/www/icons/php4.gif from install of php-4.0.5-2.arvin conflicts with fi
le from package mod_php-4.0.3pl1-1
bash-2.04$

Darrell May

Re: trouble upgrading php
« Reply #1 on: August 04, 2001, 06:55:27 AM »
Graeme Robinson wrote:
>
> I'm trying to upgrade php 4.03 to 4.04 so I can use gallery
> but am stymied:
> Any feedback appreciated.

Graham, use this HowTo:

http://netsourced.com/servers/docs/php-upgrade-howto.html

Darrell

Dan Brown

Re: trouble upgrading php
« Reply #2 on: August 04, 2001, 07:22:51 AM »
The problem here is that all of the PHP RPMs are interdependent.  You need to download them all into their own directory, and then rpm -Uvh * (or list each filename individually, but that's a major PITA).

steve

Re: trouble upgrading php
« Reply #3 on: August 07, 2001, 11:18:37 PM »
I have had the same problem upgrading php. I can't seem to get past the dependancies, and have been following - step by step - the howto. are there any alternate howto's out there?

thanks,

steve

Dan Brown

Re: trouble upgrading php
« Reply #4 on: August 07, 2001, 11:37:06 PM »
It would really help if you said what the problem was...

steve

Re: trouble upgrading php
« Reply #5 on: August 07, 2001, 11:58:31 PM »
Sorry Dan, I was trying to imply that I had the same problem as above, however in my review of the situation perhaps I used i386 rpms instead of i686 rpms. I will re-do everything and follow up with any problems.  Many problems come from the confusion surrounding how phpnuke/postnuke are installed and operate which leaves the ball very much in my court however exciting the technology is.

thanks,

sm

Dan Brown

Re: trouble upgrading php
« Reply #6 on: August 08, 2001, 12:08:11 AM »
i386/i586/i686 shouldn't be causing these sorts of problems (though if you install i686 and your processor is i586, it may not run well, or at all).  If you're getting dependency errors installing the PHP upgrades, and you've downloaded all the RPMs and are trying to install them all at once, something's strange.

steve

Re: trouble upgrading php
« Reply #7 on: August 08, 2001, 10:35:50 PM »
I went through everything and have come to the point where i..

pico /etc/php.ini

....and I get the php.ini screen but it does not say "magic_quotes_gpc = on."

also, how do i create the test.php file? Should I just make one in notepad and transfer it over, or am I trying to fit the circle in the square hole?

Thanks for your patience!

steve

Ian

Re: trouble upgrading php
« Reply #8 on: August 09, 2001, 12:23:20 PM »
I had the same problem but someone on icq was able to help me,

heres what he told me to do:

rpm -e --nodeps php-4.0.3pl1-1(this might not be the exact one)

then do rpm -e --nodeps for mod_php-4.0.3pl1-1 and the nother 3 dependencies.

now with php taken off, you can now do what you where trying to do before.

Paul

Re: trouble upgrading php
« Reply #9 on: August 19, 2001, 09:13:49 PM »
Lots of fiddling around has got me to this point any ideas?


error: php-imap-4.0.6-7.arvin.rh6.2.i586.rpm cannot be installed
error: failed dependencies:
        imlib2 is needed by php-imlib-4.0.6-7.arvin.rh6.2
        edb is needed by php-imlib-4.0.6-7.arvin.rh6.2
        libImlib2.so.1   is needed by php-imlib-4.0.6-7.arvin.rh6.2

Dan Brown

Re: trouble upgrading php
« Reply #10 on: August 19, 2001, 09:22:05 PM »
As to the problem with php-imap, sounds like a corrupted download; try downloading it again.  For php-imlib, you're on your own, but I'd try checking either elsewhere on rpms.arvin.dk or on rpmfind.net for the dependencies.