joschi99 / Osiris

Osiris NMS
0 stars 1 forks source link

PHP 5.4 update #21

Closed joschi99 closed 8 years ago

joschi99 commented 8 years ago

Upgrade to php version 5.4.x on Scientific Linux 6.7

This is necessary to have more compatibility for future updates like GLPI 0.9 and others.

joschi99 commented 8 years ago

Php upgrade procedure

yum clean all
wget http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
yum install remi-release-6.rpm

enable remi repository

yum update php
yum remove php-pecl-apc.x86_64
yum install php-pecl-apcu.x86_64

very important to remove php-pecl-apc and install php-pecl.apcu - php-pecl-apc is not compliant with php 5.4 configure php.ini and restart apache

/etc/init.d/httpd restart

disable remo repository

joschi99 commented 8 years ago

There are no errors on the php webapplication installed:

Monitoring is working normaly.