Line 69:
Line 69:
===PHP 5===
===PHP 5===
−
SME 7.x uses PHP 4, you should not upgrade this version but you can add PHP5.
−
See this howto http://sme.firewall-services.com/spip.php?article46
+
SME 7.x uses PHP 4, upgrading to PHP 5 is not recommended and not supported. However, you can add PHP5 as a cgi-bin handler for any given directory on the webserver. See this HOWTO for instructions: http://sme.firewall-services.com/spip.php?article46
+
If you really want to upgrade the entire system to PHP 5 (for instance, if you need the mysqli extension), here's how to do it:
+
+
yum --enablerepo=centosplus install php.i386 php-pear-Net-Socket php-pear-Auth-SASL php-pear-DB php-pear-HTTP php-pear-Mail php-pear-XML-Parser
+
/sbin/e-smith-signal-event post-upgrade
+
/sbin/e-smith-signal-event reboot
+
+
Horde webmail is confirmed to work under PHP 5, provided you've upgraded to the latest SME version. Please note again that PHP 5 is not officially supported by SME 7.x, and therefore you may run into trouble when upgrading SME (see e.g. http://forums.contribs.org/index.php?topic=38194.0 and http://forums.contribs.org/index.php?topic=39611.0).
+
+
See also:
+
+
http://bugs.contribs.org/show_bug.cgi?id=1120
+
http://bugs.contribs.org/show_bug.cgi?id=2132
+
http://forums.contribs.org/index.php?topic=31518
[[Category: Howto]]
[[Category: Howto]]