Changes

From SME Server
Jump to navigationJump to search
1,058 bytes added ,  03:54, 10 March 2010
Line 95: Line 95:  
* http://forums.contribs.org/index.php?topic=31518
 
* http://forums.contribs.org/index.php?topic=31518
    +
===PHP 5 with mcrypt===
 +
 +
NOTE: FOR SME SERVER 8.0 BETA 5 only... With php 5.2.10 (default rpms for beta 5)...
 +
 +
You need php-mcrypt for new WEB application like eGroupWare, Joomla, etc. needed. So see this howto:
 +
 +
Download php-mcrypt rpms needed:
 +
 +
cd /tmp
 +
wget http://rpms.famillecollet.com/enterprise/5/olds/i386/php-common-5.2.10-1.el5.remi.i386.rpm
 +
wget http://rpms.famillecollet.com/enterprise/5/olds/i386/php-mcrypt-5.2.10-1.el5.remi.i386.rpm
 +
 +
Make a backup of your current php.ini file: ''(because the install will change the file)''
 +
 +
cp /etc/php.ini /etc/php.ini.org
 +
 +
Remove the default php-common installed from SME Server Beta 5: ''(conflict with the new rpm)''
 +
 +
rpm -e php-common-5.2.10-1.el5.sme
 +
 +
Then install the 2 new rpms:
 +
 +
yum localinstall php-common-5.2.10-1.el5.remi.i386.rpm php-mcrypt-5.2.10-1.el5.remi.i386.rpm
 +
 +
Backup the new php.ini file created and restore the original:
 +
 +
mv /etc/php.ini /etc/php.ini.old
 +
mv /etc/php.ini.org /etc/php.ini
 +
 +
Restart all services:
 +
 +
svc -t /service/httpd-e-smith
 +
 +
Check Apache syntax:
 +
 +
httpd -t
 +
 +
Thats it !
    
[[Category: Howto]]
 
[[Category: Howto]]
15

edits

Navigation menu