Changes

Jump to navigation Jump to search
Line 1: Line 1:  +
=== Requirements ===
 +
{{Warning box|'''This page is ONLY for SME Server 9 64 bit''' which is now EOL and deprecated. Please upgrade '''urgently''' to SME Server v10}}
 +
{{Warning box|Even if you try this on an old v9 installation you may well break your server. Upgrade immediately}}
 +
{{Warning box|Do '''NOT''' try this on a v10 server}}
 +
 +
 
{{Languages}}
 
{{Languages}}
 
{{Level|Easy|The instructions for installing and using php scl can be followed by a beginner, changing options requires a basic knowledge of linux.}}
 
{{Level|Easy|The instructions for installing and using php scl can be followed by a beginner, changing options requires a basic knowledge of linux.}}
 
{{usefulnote}}
 
{{usefulnote}}
 +
 
== PHP Software Collections for SME Server ==
 
== PHP Software Collections for SME Server ==
   Line 31: Line 38:     
All PHP rpms are installed in /opt , this prevents any interference or conflict with the default install of PHP.
 
All PHP rpms are installed in /opt , this prevents any interference or conflict with the default install of PHP.
  −
=== Requirements ===
  −
{{Warning box|'''Only for SME Server 9 64 bit'''}}
      
=== Installation ===
 
=== Installation ===
Line 208: Line 212:  
If you need to modify the php.ini you can add a custom template.
 
If you need to modify the php.ini you can add a custom template.
   −
Make a new directory here and add you template fragment:
+
Make a new directory here and add your template fragment:
   −
<syntaxhighlight>
+
<syntaxhighlight lang="bash" >
 
/etc/e-smith/templates-custom/opt/remi/php{$ver}/root/etc/php.ini
 
/etc/e-smith/templates-custom/opt/remi/php{$ver}/root/etc/php.ini
 
</syntaxhighlight>
 
</syntaxhighlight>
    
===Debug===
 
===Debug===
 +
 +
{{Warning box| This was for v9. v10 is different and this may break your installation
 +
Some notes here:
 +
https://wiki.koozali.org/Koozali_SME_Server_Debugging#Multiple_machine_debug_proxy}}
    
====Setup====
 
====Setup====
Line 321: Line 329:  
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.
 
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">
+
you could avoid this by doing:
 +
<syntaxhighlight lang="bash">
 
mkdir -p /etc/e-smith/templates-custom/home/httpd/html/horde/config/conf.php/
 
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/
 
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/
Line 330: Line 339:  
\}
 
\}
   −
</syntaxhighlight>and finally, run :<syntaxhighlight>
+
</syntaxhighlight>
 +
and finally, run :
 +
<syntaxhighlight lang="bash" >
 
expand-template /home/httpd/html/horde/lib/core.php
 
expand-template /home/httpd/html/horde/lib/core.php
 
</syntaxhighlight>
 
</syntaxhighlight>
Line 366: Line 377:  
{{#smechangelog: smeserver-php-scl}}
 
{{#smechangelog: smeserver-php-scl}}
   −
[[Category: Contrib]]
+
[[Category: Deprecated_Contrib]]
 
[[Category:Software Collections]]
 
[[Category:Software Collections]]

Navigation menu