Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: hemps on May 21, 2004, 08:35:31 AM

Title: How does one Upgrade PHP??
Post by: hemps on May 21, 2004, 08:35:31 AM
I have looked and cannot find how to upgrade PHP to the latest one, or at least 4.2 for phpWebsite to work? I am running SME 6

Thanks
Ryan
Title: How does one Upgrade PHP??
Post by: rishi on May 21, 2004, 09:16:28 AM
Keep searching! I don't have the links with me, but I've done it my self recently to 4.3.6. One of the contribs has RPMs and a HOWTO. You just rpm -Uvh the rpms and then redo a couple of setup things so that your web mail keeps working.

The rpms I used were called:

php-4.3.6-1db.i386.rpm
php-imap-4.3.6-1db.i386.rpm
php-mysql-4.3.6-1db.i386.rpm

Try searching for those names? There were forum threads also. Good luck, whole thing took about 10mins once I found the HOWTO (not the easiest thing to do in this place!)

Rishi.
Title: Thanks, I tried that got this error......
Post by: hemps2 on May 21, 2004, 05:35:49 PM
I found the HOWTO, but its for SME 5.6, I am using 6. I am getting the error when I do the rpm -Uvh * with all the correct packages..

Dependancy failed
/usr/bin/php     ........needed by horde-XX

Thanks
Ryan
Title: How does one Upgrade PHP??
Post by: del on May 21, 2004, 08:18:51 PM
Hi,
When I did it I used these rpms:

php-4.3.6-1db.i386.rpm
php-imap-4.3.6-1db.i386.rpm
php-ldap-4.3.6-1db.i386.rpm
php-mysql-4.3.6-1db.i386.rpm

Rishi may have forgot he used php-ldap-4.3.6-1db.i386.rpm as well as the other 3 rpms. I am not an expert but ldap may have something to do with horde.
I am pretty sure I followed the 5.6 howto to upgrade my version 6 (custom iso)and I didn't have any problems.
Regards,
Del :-)
Title: How does one Upgrade PHP??
Post by: Rigger on May 22, 2004, 08:09:08 PM
Check this thread;

http://forums.contribs.org/index.php?topic=22425.msg88998#msg88998


--
Doug M.
"Rigger"