Changes

Jump to navigation Jump to search
1,290 bytes added ,  17:27, 16 July 2016
no edit summary
Line 1: Line 1: −
{{Warning box| this howto need to tested before to be used in an environment of work....test inside...high risk :) }}
+
{{Warning box| This howto needs to be tested before to be used in an environment of work....test inside...high risk :) }}
 +
{{Warning box| For Koozali SME v9 x64 the recommended way is to use the official RHEL [[PHP_Software_Collections|php software collection]] It is a less risky solution, plus you will be able to keep several php versions on your server }}
 +
 
 
==Upgrade PHP and MYSQL==
 
==Upgrade PHP and MYSQL==
   Line 10: Line 12:     
====From remi repository====
 
====From remi repository====
{{WIP box|stephdl}}
+
{{Warning box|The upgrade is a one way path and you may have some problem with php application see http://forums.contribs.org/index.php/topic,51299.0/topicseen.html
 +
See the above note regarding using Software Collections !
 +
}}
 +
 
 +
Remi collet provides a huge number of rpm for centos and fedora, the purpose is to use his work.
 +
 
 +
this is the versions of rpm you will have after :
   −
Remi collet provides a huge number of rpm for centos and fedora, the purpose is to use his work
+
# rpm -qa phpMyAdmin smeserver-phpMyAdmin_remi mysql-server php
 +
phpMyAdmin-4.2.7-1.el6.remi.noarch
 +
smeserver-phpMyAdmin_remi-4.2.7-1.el6.sme.noarch
 +
php-5.5.15-1.el6.remi.x86_64
 +
mysql-server-5.5.39-1.el6.remi.x86_64
    
* we need to enable [[remi]], [[stephdl]] and  [[epel]] repositories
 
* we need to enable [[remi]], [[stephdl]] and  [[epel]] repositories
Line 62: Line 74:     
* we need to activate innodb
 
* we need to activate innodb
Now with mysql 5.5 innodb is activate by default, and of course not in smeserver
+
Now with mysql 5.5 innodb is activated by default, and of course not in smeserver
 +
 
 +
{{note box|msg=On SME8, you need to create a custom-template to remove an obsolete directive
 +
 
 +
mkdir -p /etc/e-smith/templates-custom/etc/my.cnf
 +
sed -e  's/$OUT .= "innodb_log_arch_dir = .*//g' /etc/e-smith/templates/etc/my.cnf/009innodb > \
 +
  /etc/e-smith/templates-custom/etc/my.cnf/009innodb
 +
 
 +
This is not required on SME9}}
 +
 
    
  db configuration setprop mysqld InnoDB enabled
 
  db configuration setprop mysqld InnoDB enabled
Line 77: Line 98:  
there is a warning in log, concerning [http://php.net/manual/fr/ini.core.php#ini.allow-call-time-pass-reference allow_call_time_pass_reference] which is deprecated in php55.
 
there is a warning in log, concerning [http://php.net/manual/fr/ini.core.php#ini.allow-call-time-pass-reference allow_call_time_pass_reference] which is deprecated in php55.
   −
  sed -i -e  "s|allow_call_time_pass_reference|//allow_call_time_pass_reference|g" /etc/e-smith/templates/etc/php.ini/10LanguageOptions
+
mkdir -p /etc/e-smith/templates-custom/etc/php.ini/
 +
  sed -e  "s|allow_call_time_pass_reference|//allow_call_time_pass_reference|g" \
 +
    /etc/e-smith/templates/etc/php.ini/10LanguageOptions > /etc/e-smith/templates-custom/etc/php.ini/10LanguageOptions
 
  expand-template /etc/php.ini
 
  expand-template /etc/php.ini
 
  /etc/init.d/httpd-e-smith restart
 
  /etc/init.d/httpd-e-smith restart
Line 94: Line 117:     
{{note box|msg=Now each time you will need a dependancies, you will have to use remi,remi-php55 and also probably epel. For example :
 
{{note box|msg=Now each time you will need a dependancies, you will have to use remi,remi-php55 and also probably epel. For example :
  yum install --enablerepo=epel,remi,remi-php55,stephdl smeserver-phpMyAdmin_remi}}
+
  yum install --enablerepo=epel,remi,remi-php55,stephdl smeserver-phpMyAdmin_remi
 +
It will be the same if you want to update your server. For example :
 +
yum update --enablerepo=remi,remi-php55,stephdl}}
    
* Installation of smeserver-phpmyadmin
 
* Installation of smeserver-phpmyadmin
Super Admin, Wiki & Docs Team, Bureaucrats, Interface administrators, Administrators
3,250

edits

Navigation menu