Koozali.org: home of the SME Server

No webmail / horde after php update

Offline Tomagain

  • *
  • 6
  • +0/-0
Re: No webmail / horde after php update
« Reply #15 on: July 25, 2016, 12:59:20 AM »
Hi!

Yes installed the scl-php.

Now i fixed it to php54:
config setprop php54 PhpModule enabled
signal-event php-update

I wet to http://rpms.famillecollet.com/enterprise/6/remi/x86_64/repoview/letter_p.group.html
I tried to install
php-ioncube-loader - Loader for ionCube Encoded Files with ionCube 24 support

But i can not the dependencies:
 php(zend-abi) = 20100525-x86-64 wird benötigt von php-ioncube-loader-5.1.2-1.el6.remi.5.4.x86_64
        php(api) = 20100412-x86-64 wird benötigt von php-ioncube-loader-5.1.2-1.el6.remi.5.4.x86_64

Any idea to get the ioncube loader working?

Offline Jean-Philippe Pialasse

  • *
  • 2,912
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: No webmail / horde after php update
« Reply #16 on: July 25, 2016, 02:57:55 AM »
My guess is that you did

Code: [Select]
yum install php-ioncube-loader --enablerepo=remi
In place of

Code: [Select]
yum install php54-php-ioncube-loader --enablerepo=remi
The php version in remi is 5.4, while ours is 5.3. Only php packages starting with php??-php- are scl versions, the first one is to update the main php package which again you do not want to do.

Otherwise if you did the second remi has dependency issues in his repo pointing to the wrong php rpm.

If so you have to open a bug on his site, and or  try php55
« Last Edit: July 25, 2016, 03:02:31 AM by Jean-Philippe Pialasse »

Offline Tomagain

  • *
  • 6
  • +0/-0
Re: No webmail / horde after php update
« Reply #17 on: July 25, 2016, 05:07:30 PM »
Thanx Jean-Philippe!

IONcube is now working. But no i detect that phpmyadmin (smeserver-phpmyadmin-4.0.10.2-3.el6.sme.noarch) is not working. Must be updated like

Code: [Select]
yum install --enablerepo=epel,remi,remi-php55,stephdl smeserver-phpMyAdmin_remi
signal-event console-save

or there are a better Way?

Offline Jean-Philippe Pialasse

  • *
  • 2,912
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: No webmail / horde after php update
« Reply #18 on: July 25, 2016, 05:41:34 PM »
no idneed this is the right way currently, perhaps we will finish to merge the two versions, but currently you will have to thank you (again) Stephane for his great work  ;)

JP

Offline stephdl

  • *
  • 1,523
  • +0/-0
    • Linux et Geekeries
Re: No webmail / horde after php update
« Reply #19 on: July 26, 2016, 07:42:58 AM »
smeserver-phpMyAdmin_remi  as for dependency a version of  phpMyAdmin only compatible with php55 and mysql55 if I don't make a mistake.
So probably you have also upgraded mysql and it doesn't start anymore for a problem of innodb disabled by default in sme9.

The reinstallation of your server is close
See http://wiki.contribs.org/Koozali_Foundation
irc : Freenode #sme_server #sme-fr

!!! Please write your knowledge to the Wiki !!!

Offline Jean-Philippe Pialasse

  • *
  • 2,912
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: No webmail / horde after php update
« Reply #20 on: July 26, 2016, 10:30:03 AM »
Well wrong advice  ( in other words do not install the phpmyadmin_remi version as it will require tu update mysql to 55, and we do not want this) after discussing with Stephane :

here what to do


when you tried to acess phpmyadmin you might have a white page and the log gives this :

Code: [Select]
# tail -f /var/log/messages
Jul 26 04:23:09 www httpd: PHP Fatal error:  require(): Failed opening required '/usr/share/pear//Crypt/Random.php' (include_path='.:/opt/remi/php56/root/usr/share/pear:/opt/remi/php56/root/usr/share/php:/usr/share/pear') in /usr/share/phpMyAdmin/libraries/session.inc.php on line 17

Code: [Select]
yum install php54-php-mcrypt  php55-php-mcrypt php56-php-mcrypt --enablerepo=remi -y
yum install php-phpseclib-crypt-random  -y
signal-event phpmyadmin-update

https://wiki.contribs.org/PHP_Software_Collections#to_use_phpmyadmin

« Last Edit: July 26, 2016, 10:33:05 AM by Jean-Philippe Pialasse »