Changes

From SME Server
Jump to navigationJump to search
118 bytes added ,  14:03, 31 May 2015
m
Line 85: Line 85:  
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

Navigation menu