Changes
From SME Server
Jump to navigation
Jump to search
← Older edit
Newer edit →
PHP
(view source)
Revision as of 02:54, 10 March 2010
1,058 bytes added
,
02:54, 10 March 2010
→PHP 5
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]]
Snoopyski
15
edits
Navigation menu
Page actions
Page
Discussion
View source
History
Page actions
Page
Discussion
More
Tools
In other languages
Personal tools
English
Log in
Koozali SME Server
Main Page
Welcome
Releases
Testimonials
Documentation
SME Server FAQ
Volunteering
Commercial Support
Recent activities
Dashboard
Recent wiki changes
Recent bug changes
Unread Forum posts
Koozali resources
Contribs
How-To's
Forums
Bugzilla
Mailing Lists
Translations
Download
Koozali SME Server wiki
Wiki statistics
Wiki categories
Wiki Help
Koozali Wiki Help
Tools
Special pages
Printable version
Search