Changes

Jump to navigation Jump to search
897 bytes added ,  17:27, 16 July 2016
no edit summary
Line 1: Line 1: −
{{Warning box| this howto needs 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.
 
Remi collet provides a huge number of rpm for centos and fedora, the purpose is to use his work.
Line 70: 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 85: 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
Super Admin, Wiki & Docs Team, Bureaucrats, Interface administrators, Administrators
3,250

edits

Navigation menu