Koozali.org: home of the SME Server

Upgrade PHP on SME 5.6

trevor

Re: Upgrade PHP on SME 5.6
« Reply #15 on: November 21, 2003, 08:05:00 PM »
Thanks for the speakeasy.net RPM lookup site. I tried doing some updates but only succeeded in hosing my box (still learning). I've rebuit with 6.0b3 + updates and will give the PHP upgrade another go this weekend.

Guck Puppy

Re: Upgrade PHP on SME 5.6
« Reply #16 on: November 21, 2003, 09:53:45 PM »
trevor wrote:

> Thanks for the speakeasy.net RPM lookup site. I tried doing
> some updates but only succeeded in hosing my box (still

For the record, can you share what it was that hosed your box?

G

Trevor

Re: Upgrade PHP on SME 5.6
« Reply #17 on: November 22, 2003, 07:10:18 PM »
Honestly I don't remember what I did to "hose" my system. I was getting a sysmon error on boot and I couldn't login over ssh to my box. I've been meaning to upgrade/rebuild so I figured it be easiest to do it.  

I rebuilt my server with SME 6.0 Beta 3 + updates. From what I can tell, I successfully upgraded PHP to 4.3.3 using the RPM's Dan provided (THANKS!).

PHP RPMS USED:
--------------------------
| --->  php-4.3.4-1db.i386.rpm
| --->  php-imap-4.3.4-1db.i386.rpm
| --->  php-ldap-4.3.4-1db.i386.rpm
| --->  php-mysql-4.3.4-1db.i386.rpm
| --->  php-devel-4.3.4-1db.i386.rpm

Then in directory:

#rpm -fvh *.rpm
(Note: I got an warning message here; saying php.ini was created as php.ini.rpmnew -- this was removed by the system by expanding the template below)

Then to fix IMP (Again, Thanks Dan)
# pear install Log
# /sbin/e-smith/expand-template /etc/php.ini

I didn't use the "sme56_imp-horde-php_upgrade.htm" howto because SME6.0 has newer version of horde already installed and the PHP rpms were 4.3.2.

Don't know if I did this "right" or not but it seems to be working with everything.