Koozali.org formerly Contribs.org

Problems with webmail after yum update

Offline Rien

  • *
  • 216
    • http://www.taurix.nl
Problems with webmail after yum update
« on: November 29, 2006, 10:52:29 PM »
Hi all,

I did a yum update. PhP was updated from php 5.0.4 to php 5.1.6 and php-domxml was updated to php-domxml.i386 4.3.9-3.15

I'm happy with php5.1.6 because SugarCRM and Joomla1.5 didn't work with php5.0.4. They do with php5.1.6

I'm sad because Webmail doesn't do it anymore. What could be wrong?
Rien
(The Netherlands)......

Offline cactus

  • *
  • 4,880
    • http://www.snetram.nl
Re: Problems with webmail after yum update
« Reply #1 on: November 30, 2006, 08:44:40 AM »
Quote from: "Rien"
Hi all,

I did a yum update. PhP was updated from php 5.0.4 to php 5.1.6 and php-domxml was updated to php-domxml.i386 4.3.9-3.15

I'm happy with php5.1.6 because SugarCRM and Joomla1.5 didn't work with php5.0.4. They do with php5.1.6

I'm sad because Webmail doesn't do it anymore. What could be wrong?
Maybe it helps if you try and drill your log files.
You can perhaps start with the var/log/messages file and /var/log/httpd/access_log and /var/log/httpd/error_log file to see if you can find any pointers there.

It might also be that the php-domxml version you are using is incompatible with the php-5.1.x architecture but worked for the 5.0.x architecture. It looks to me that this is number is kept in-sync with the PHP version number, although I am not sure.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline cactus

  • *
  • 4,880
    • http://www.snetram.nl
Re: Problems with webmail after yum update
« Reply #2 on: November 30, 2006, 08:49:47 AM »
Quote from: "cactus"
Quote from: "Rien"
Hi all,

I did a yum update. PhP was updated from php 5.0.4 to php 5.1.6 and php-domxml was updated to php-domxml.i386 4.3.9-3.15

I'm happy with php5.1.6 because SugarCRM and Joomla1.5 didn't work with php5.0.4. They do with php5.1.6

I'm sad because Webmail doesn't do it anymore. What could be wrong?
Maybe it helps if you try and drill your log files.
You can perhaps start with the var/log/messages file and /var/log/httpd/access_log and /var/log/httpd/error_log file to see if you can find any pointers there.

It might also be that the php-domxml version you are using is incompatible with the php-5.1.x architecture but worked for the 5.0.x architecture. It looks to me that this is number is kept in-sync with the PHP version number, although I am not sure.

A follow up after using ggolle for a bit:

Althought this RPM is not compatible wiht the SME server distribution the message may hold true (source: http://rpmfind.net/linux/RPM/mandriva/devel/cooker/ppc/media/contrib/release/php-domxml-20030407-13mdv2007.1.ppc.html)
Quote from: "http://rpmfind.net/linux/RPM/mandriva/devel/cooker/ppc/media/contrib/release/php-domxml-20030407-13mdv2007.1.ppc.html"
This extension allows you to operate on an XML document with the DOM API. It
has been superseded by the DOM extension that ships with PHP 5.

Although it should be possible to use this old domxml extension with PHP 5, its
use is highly discouraged, as there a very high potential for conflicts with
the new dom extension.


If you are migrating from PHP 4 to PHP 5, the recommended best-practice is to
port your domxml code to the much better dom code.

If you really must build domxml, you will need to obtain the sources from CVS
and build them yourself.

See http://www.php.net/manual/en/install.pecl.php for instructions.

NOTE: if you're running PHP 4.x, the domxml is already part of the
distribution.

NOTE: This extension has symbol clashes with the php-dom package, do not use
both at the same time.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline william_syd

  • ****
  • 1,608
  • Nothing to see here.
    • http://www.magicwilly.info
Problems with webmail after yum update
« Reply #3 on: November 30, 2006, 09:23:38 AM »
I've played a lot today with yum and found that php and mysql can be updated to the 5 series from the centoplus repo without having to mess around with php-domxml as per the howto.

http://bugs.contribs.org/show_bug.cgi?id=1120

It appears the horde dependency on php-domxml is removed. During an update of a test server php-domxml was erased and php-xml installed.

Webmail continued to function.

I believe I did an update to get it..

Code: [Select]
yum --enablerepo=base --enablerepo=updates --enablerepo=centosplus update

This last line may be your problem...
Quote
NOTE: This extension has symbol clashes with the php-dom package, do not use
both at the same time.


You did not state how you got the '5' series on there in the first place.
Regards,
William

IF I give advise.. It's only if it was me....

Offline Rien

  • *
  • 216
    • http://www.taurix.nl
Problems with webmail after yum update
« Reply #4 on: December 16, 2006, 02:32:01 PM »
Hi,

Sorry, I'v been away some while.

I upgrade PHP4 to PHP5 using this thread:
http://forums.contribs.org/index.php?topic=33434.0

After that, I updated PHP using YUM with the CentosPlus repository.

The last time I updated PHP 5.0.4 tot PHP 5.1.6 using Yum (CentosPlus). Webmail worked under PHP 5.0.4 but after the update to PHP 5.1.6 it didn't work anymore, I think because PHP-domxml was replaced by PHP-xml.

So I installed PHP-domxml again with the --nodeps option. Webmail still didn't work.

I'm now using RoundCube (see this thread: http://forums.contribs.org/index.php?topic=30979.0)

I installed it using the install method from dungog (http://www.dungog.net/sme/webapp.php#roundcube). It works great and I like it better because it's translated in many languages including dutch.
Rien
(The Netherlands)......