Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: Ari on September 29, 2001, 10:11:00 AM
-
Greets all!
Just tried to upgrade php to 4.0.6-10 and received the following:
[root@localhost php]# rpm -Uvh *
error: failed dependencies:
libcrypto.so.0 is needed by mod_php-4.0.6-10.arvin.rh6.2
libssl.so.0 is needed by mod_php-4.0.6-10.arvin.rh6.2
libcrypto.so.0 is needed by php-imap-4.0.6-10.arvin.rh6.2
libssl.so.0 is needed by php-imap-4.0.6-10.arvin.rh6.2
liblber.so.1 is needed by php-ldap-4.0.6-10.arvin.rh6.2
libldap.so.1 is needed by php-ldap-4.0.6-10.arvin.rh6.2
php = 4.0.4pl1-9 is needed by php-manual-4.0.4pl1-9
I've downloaded the 5 php files necessary (according to Darrell May's HOWTO doc)
I've already installed the following:
[root@localhost php]# rpm -Uvh mm-1.1.3-6.arvin.rh6.2.i586.rpm
Preparing... ########################################### [100%]
1:mm ########################################### [100%]
[root@localhost php]# rpm -Uvh expat-1.95.1-1.i386.rpm
Preparing... ########################################### [100%]
1:expat ########################################### [100%]
Any ideas as to what I'm missing here?
Thanks in advance!
Ari
-
Yep, you're using the wrong versions of those RPMs, as I haven't updated that howto to comply with SME 5 yet. For now, go to rpms.arvin.dk and download the versions for RedHat 7.1; that should do what you need.
-
Hi Dan!
Downloaded 7.1 versions of the php files.
Step 1
[root@localhost php]# rpm -Uvh mm-1.1.3-6.arvin.rh7.1.i586.rpm mm-devel-1.1.3-6.arvin.rh7.1.i586.rpm
Preparing... ########################################### [100%]
1:mm ########################################### [ 50%]
2:mm-devel ########################################### [100%]
Step 2
[root@localhost php]# rpm -Uvh expat-1.95.2-1.arvin.rh7.1.i586.rpm expat-devel-1.95.2-1.arvin.rh7.1.i586.rpm
Preparing... ########################################### [100%]
1:expat ########################################### [ 50%]
2:expat-devel ########################################### [100%]
Then when I install the php and mod_php RPM's, I get the following:
[root@localhost php]# rpm -Uvh php-4.0.6-10.arvin.rh7.1.i686.rpm php-imap-4.0.6-10.arvin.rh7.1.i686.rpm php-ldap-4.0.6-10.arvin.rh7.1.i686.rpm php-mysql-4.0.6-10.arvin.rh7.1.i686.rpm mod_php-4.0.6-10.arvin.rh7.1.i686.rpm
error: failed dependencies:
php = 4.0.4pl1-9 is needed by php-manual-4.0.4pl1-9
Granted, a lot of the dependencies have been taken care of, but this one has me baffled.
Your insight is appreciated.
Thanks!
Ari
-
Interesting, php-manual isn't installed on my SME 5 machine. Probably the easiest thing to do is to remove it with 'rpm -e php-manual'.
-
Yep.
That did the trick.
Thanks!
Ari
-
Hey,
I was wondering if someone could give a more detailed explanation of how to upgrade php...what order did you do everything in Ari? I'm looking to upgrade php on SME 5 too, just hoping for a little quick and dirty how-to. Thanks.
-
ok I tried to update my php tonite. I followed the php upgrade how to and then found this post. everything went fine with the installations of the rpms . My problem is somehow.. and for some unknow reason my php will no longer work with mysql. my phpinfo does not show my sql set up. I know very little about php and mysql. Some places to check and or instruction on what to do now would be great.