Koozali.org: home of the SME Server
		Legacy Forums => General Discussion (Legacy) => Topic started by: llandry on May 20, 2004, 02:54:01 PM
		
			
			- 
				Hi Folks...
 
 I'm trying to update the PHP on my SME 6.01 and I'm running into some problems..
 
 I've downloaded the most excellent RPMs from Dan Browns contrib... but I keep getting dependency errors..
 
 Any help would be greatly appreciated
 
 
 rpm -Uvh php-4.3.5-1db.i386.rpm
 error: failed dependencies:
 php = 4.1.2-7.3.6es1 is needed by php-imap-4.1.2-7.3.6es1
 php = 4.1.2-7.3.6es1 is needed by php-ldap-4.1.2-7.3.6es1
 php = 4.1.2-7.3.6es1 is needed by php-mysql-4.1.2-7.3.6es1
 
 I don't seem to be able to find the missing RPM anywhere....
 
 Thanks
 
 L2
- 
				Download other php upgrades as well
 
 php
 php-imap
 php-mysql
 php-ldap
 
 and after that you can upgrade them.
 
 PS1 : latest version is 4.3.6...
 PS2 : make sure your php.ini files is modified
 
 include_path            = ".:/usr/share/pear"
 
 Restart yout httpd service.
 
 Good luck.
- 
				Yes...
 
 I have all of those... But I still get errors..
 
 Is there a perticular order in which they should be applied?
 
 I have the following....
 
 php-4.3.6-1db.i386.rpm
 php-devel-4.3.6-1db.i386.rpm
 php-mysql-4.3.6-1db.i386.rpm
 php-imap-4.3.6-1db.i386.rpm
 php-snmp-4.3.6-1db.i386.rpm
 php-ldap-4.3.6-1db.i386.rpm
 
 Thanks...
- 
				OK...I'm stumpped...
 
 but that's to be expected, I'm by no means and expert at this...  :-D
 
 Here's what I'm getting while trying to upgrade....
 
 [root@library php]# rpm -Uvh php-4.3.6-1db.i386.rpm
 error: failed dependencies:
 php = 4.1.2-7.3.6es1 is needed by php-imap-4.1.2-7.3.6es1
 php = 4.1.2-7.3.6es1 is needed by php-ldap-4.1.2-7.3.6es1
 php = 4.1.2-7.3.6es1 is needed by php-mysql-4.1.2-7.3.6es1
 [root@library php]# rpm -Uvh /mnt/cdrom/e-smith/RPMS/php-imap-4.1.2-7.3.6es1.i386.rpm
 Preparing...                ########################################### [100%]
 package php-imap-4.1.2-7.3.6es1 is already installed
 
 
 Any suggestions?
 
 Thanks in advance...
 
 L2
- 
				If they are all in the same directory, with no other rpms, rpm -Uvh * should do the trick.
			
- 
				Worked like a charm...
 
 Thanks  :-D