Changes

From SME Server
Jump to navigationJump to search
51 bytes added ,  04:07, 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===
+
===PHP 5 with php-mcrypt===
    
'''NOTE:''' FOR SME SERVER 8.0 BETA 5 only... With php 5.2.10 (default rpms for beta 5)...
 
'''NOTE:''' FOR SME SERVER 8.0 BETA 5 only... With php 5.2.10 (default rpms for beta 5)...
Line 103: Line 103:  
Tested on my SME Server 7.4 upgraded to SME Server 8.0 Beta 5 and works great !
 
Tested on my SME Server 7.4 upgraded to SME Server 8.0 Beta 5 and works great !
   −
Download php-mcrypt rpms needed:
+
'''1. Download php-mcrypt rpms needed'''
    
cd /tmp
 
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-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
 
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)''
+
'''2. Make a backup of your current php.ini file''' ''(because the install will change the file)''
    
cp /etc/php.ini /etc/php.ini.org
 
cp /etc/php.ini /etc/php.ini.org
   −
Remove the default php-common installed from SME Server Beta 5: ''(conflict with the new rpm)''
+
'''3. 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
 
rpm -e php-common-5.2.10-1.el5.sme
   −
Then install the 2 new rpms:
+
'''4. 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
 
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:
+
'''5. Backup the new php.ini file created and restore the original'''
    
mv /etc/php.ini /etc/php.ini.old
 
mv /etc/php.ini /etc/php.ini.old
 +
 
mv /etc/php.ini.org /etc/php.ini
 
mv /etc/php.ini.org /etc/php.ini
   −
Restart all services:
+
'''6. Restart all services'''
    
svc -t /service/httpd-e-smith
 
svc -t /service/httpd-e-smith
   −
Check Apache syntax:
+
'''7. Check Apache syntax'''
    
httpd -t
 
httpd -t
  −
Thats it !
      
----
 
----
    
[[Category: Howto]]
 
[[Category: Howto]]
15

edits

Navigation menu