Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: Greg Zartman on July 14, 2003, 06:01:36 AM
-
Does anyone know of any pitfalls in upgrading PHP 4.2.1 to 4.2.3 on SME 5.6? The reason that I ask is that Mitel is staying with the 4.2.1 rpms in SME 6.0beta 2, which makes one wonder if there is an issue with php 4.2.1+
I've successfully installed updated RH 7.3 php rpms and all seems well, but .....
In a nutshell, I uninstalled the following stock SME rpms:
php-4.2.1xxxx
php-imap-4.2.1xxxx
php-ldap-4.2.1xxxx
php-mysql-4.2.1
and then installed the following RH 7.3 rpms:
php-4.2.3-1db_rh73.i386.rpm
php-imap-4.2.3-1db_rh73.i386.rpm
php-ldap-4.2.3-1db_rh73.i386.rpm
php-mysql-4.2.3-1db_rh73.i386.rpm
Thank you.
Greg Zartman
-
Well, if you're going to upgrade at all, go all the way to 4.3.2 IMO. Then just do
# pear install Log
# /sbin/e-smith/expand-template /etc/php.ini
and restart apache.
I expect the reason Mitel is staying with 4.1.2 is that's the latest version RH has built RPMs for.
-
> Well, if you're going to upgrade at all, go all the way to
> 4.3.2 IMO. Then just do
4.3.2 breaks stock IMP on SME 5.6 whereas 4.2.3 doesn't. Seems I recall you mentioning this at one point... Probably just a matter of upgrading IMP to the lastest version.
Thanks for the info Dan.
Regards,
Greg Zartman
-
Greg, I have successfully installed the packages by Dan Brown as he stated... with all the bells and whistles, on SME 5.6. Works great here.
Craig Jensen
-
Greg Zartman wrote:
> > Well, if you're going to upgrade at all, go all the way to
> > 4.3.2 IMO. Then just do
> 4.3.2 breaks stock IMP on SME 5.6 whereas 4.2.3 doesn't.
> Seems I recall you mentioning this at one point... Probably
> just a matter of upgrading IMP to the lastest version.
It does break it. That's why you should perform the commands Dan mentioned just after the quote :
# pear install Log
# /sbin/e-smith/expand-template /etc/php.ini
This fixes the break to IMP.
G
-
> It does break it. That's why you should perform the commands
> Dan mentioned just after the quote :
>
> # pear install Log
> # /sbin/e-smith/expand-template /etc/php.ini
>
> This fixes the break to IMP.
Interesting. I tried this, but IMP still didn't work right. Maybe it was the version for the Log pear package that I installed. I am trying this upgrade on a VMware SME install, which didn't have direct access to the net. Therefore, I downloaded the Log library from the pear site, copied to a local directory on my VMware SME install, then installed from the local directory.
Regards,
Greg Zartman
-
I hate to be such an idiot, but how do you uninstall these?
> In a nutshell, I uninstalled the following stock SME rpms:
> php-4.2.1xxxx
Also, Dan, how up-to-date is this page?
http://www.familybrown.org/howtos/php-upgrade-howto-sme512.html
Is the process to upgrade to 4.3.2 similar?
I don't care about webmail working, I don't use it anyway, I wrote
my own php email program to handle the thousands of junkmails I get.
It sure would be nice to have a procedure to upgrade to 4.3.2.
Tony Hansen
-
Tony,
I have just upgraded my PHP to 4.3.2 using Greg's HOWTO at http://www.leiinc.com/repository/Linux/Mitel_SME_Server/HowToGuides/sme56_imp-horde-php_upgrade.htm with no problems.
Thanks to Greg for an excellent, easy to follow process.
Cheers,
Pete.
-
<<<
Thanks to Greg for an excellent, easy to follow process.
Cheers,
Pete.>>>>>
Thanks to Pete and Greg. The guide works flawlessly.
I just ran it and now the phpwebsite scripts are
responding. I still don't have it fully configured yet,
but the problems I think are in the phpwebsite
scripts.
But the main point is that PHP4.3.2 is installed on my
SME56 and working fine.
Scott
-
Hi.
I just did the install as stated above, but now the calendar extension isn't loaded. How do I get this back?
Thanks!
-
Trying to run this update... I have some other contribes previously installed.. Any idea how to get around and/or update these dependencies???
# rpm -Uvh php_4.3.2/*
error: failed dependencies:
libdb-3.3.so is needed by php-4.3.2-2db
php = 4.1.2-2es3 is needed by php-pgsql-4.1.2-2es3
Thanks!
PS... Thanks to the individuals in this community that contribute sooo much of their time helping others here. Pete, Greg, Dan to name only a few...
-
Trevor wrote:
> # rpm -Uvh php_4.3.2/*
> error: failed dependencies:
> libdb-3.3.so is needed by php-4.3.2-2db
> php = 4.1.2-2es3 is needed by php-pgsql-4.1.2-2es3
Do you need the php postgres interface? If so, download the 4.3.2 version of it.
http://rpmfind.speakeasy.net/linux/rpm2html/search.php?query=libdb-3.3.so&submit=Search+...&system=redhat-7.3&arch=
Locates the libdb-3.3.so required.
All just part of the 'fix the dependencies' game which is so fun to play!
Go! Play! Fun!
-
...and if you don't need it, rpm -e it. BTW, I have RPMs out now of 4.3.4, which is said to fix lots of bugs in 4.3.2 and 4.3.3; it'd be better to upgrade to those packages.
-
Dan Brown wrote:
> I have RPMs out
> now of 4.3.4, which is said to fix lots of bugs in 4.3.2 and
> 4.3.3; it'd be better to upgrade to those packages.
Whereabouts Dan?
http://www.ibiblio.org/pub/Linux/distributions/e-smith/contrib/DanBrown/RPMS/i386/
doesn't show them...
G
-
Ugh, looks like Mitel (again) changed the IP address they're trying to rsync from, so it was failing. Should be up there tonight.
-
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.
-
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
-
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.