Changes

From SME Server
Jump to navigationJump to search
Line 317: Line 317:  
  https://test.myserver.com/TestFile.php?XDEBUG_SESSION_START=users
 
  https://test.myserver.com/TestFile.php?XDEBUG_SESSION_START=users
   −
===Cannot access Webmail or Server Manager===
+
===Cannot access Webmail ===
   −
If you find that you can not access Webmail or server manager then you can disable PHP SCL as follows:
+
In previous version you could have issue accessing webmail if php7 is selected. We have added a process to set php cgi to php56 in case a php7 version is selected globally. Unfortunately this would create a lot of warnings in the logs.
 +
 
 +
you could avoid this by doing:<syntaxhighlight lang="bash">
 +
mkdir -p /etc/e-smith/templates-custom/home/httpd/html/horde/config/conf.php/
 +
cp -a /etc/e-smith/templates/home/httpd/html/horde/config/conf.php/100GeneralSettings /etc/e-smith/templates-custom/home/httpd/html/horde/config/conf.php/
 +
 
 +
#then add this in the file
 +
if (defined('E_STRICT')) \{
 +
  $conf['debug_level'] &=  ~E_STRICT;
 +
\}
 +
 
 +
</syntaxhighlight>and finally, run :<syntaxhighlight>
 +
expand-template /home/httpd/html/horde/lib/core.php
 +
</syntaxhighlight>
 +
 
 +
this will reduce the amount of warning, but there will be still some because of script called before the conf file
 +
 
 +
in older version if you find that you can not access Webmail then you can disable PHP SCL as follows:
    
Global
 
Global
Super Admin, Wiki & Docs Team, Bureaucrats, Interface administrators, Administrators
3,254

edits

Navigation menu