Changes

Jump to navigation Jump to search
23 bytes added ,  19:58, 12 July 2010
wikification
Line 98: Line 98:     
===PHP 5 with php-mcrypt===
 
===PHP 5 with php-mcrypt===
 
+
{{Note box|msg=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)...
      
You need php-mcrypt for new WEB applications like eGroupWare, Joomla, etc. So see this Howto:
 
You need php-mcrypt for new WEB applications like eGroupWare, Joomla, etc. So see this Howto:
Line 105: Line 104:  
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 !
   −
'''1. Download php-mcrypt rpms needed'''
+
<ol>
 
+
</li><li>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
  −
 
  −
'''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
+
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
   −
'''3. Remove the default php-common installed from SME Server Beta 5''' ''(conflict with the new rpm)''
+
</li><li>Make a backup of your current php.ini file''' ''(because the install will change the file)
   −
rpm -e --nodeps php-common-5.2.10-1.el5.sme
+
cp /etc/php.ini /etc/php.ini.org
   −
'''4. Then install the 2 new rpms'''
+
</li><li>Remove the default php-common installed from SME Server Beta 5 (conflict with the new rpm)
   −
yum localinstall php-common-5.2.10-1.el5.remi.i386.rpm php-mcrypt-5.2.10-1.el5.remi.i386.rpm
+
rpm -e --nodeps php-common-5.2.10-1.el5.sme
   −
'''5. Backup the new php.ini file created and restore the original'''
+
</li><li>Then install the 2 new rpms
   −
mv /etc/php.ini /etc/php.ini.old
+
yum localinstall php-common-5.2.10-1.el5.remi.i386.rpm php-mcrypt-5.2.10-1.el5.remi.i386.rpm
   −
mv /etc/php.ini.org /etc/php.ini
+
</li><li>Backup the new php.ini file created and restore the original
   −
'''6. Restart all services'''
+
mv /etc/php.ini /etc/php.ini.old
 +
mv /etc/php.ini.org /etc/php.ini
   −
svc -t /service/httpd-e-smith
+
</li><li>Restart all services
   −
'''7. Check Apache syntax'''
+
svc -t /service/httpd-e-smith
   −
httpd -t
+
</li><li>Check Apache syntax
    +
httpd -t
 +
</li></ol>
 
----
 
----
    
[[Category: Howto]]
 
[[Category: Howto]]

Navigation menu