So, migrating to new dataCenter, and want to move to CentOS 6. Just running SugarCRM on httpd, so no problem right?
Wrong.
Have to downgrade php (on 5.5 had to jump through hoops to upgrade it).
php 5.3 does strange things and breaks some custom modules. So the adventure begins.
Wrong.
Have to downgrade php (on 5.5 had to jump through hoops to upgrade it).
php 5.3 does strange things and breaks some custom modules. So the adventure begins.
- Install CentOS 6.2
- Update from standard repos
- yum install group "Web Server"
- yum install php
- yum remove php
- wget -q -O - http://www.atomicorp.com/installers/atomic | sh
- nano /etc/yum.conf
- add "exclude=php*5.3*"
- yum update
- yum install php php-soap php-xml php-xmlrpc php-snmp php-pdo php-ncurses php-mysql php-mcrypt php-ldap php-imap php-gd php-mbstring
Now we should have a fully functioning php 5.2 set up...
BUT
we dont have apc, which we need for high volume sugar...
sooo..
- yum install php-devel httpd-devel make gcc php-pear
- pecl channel-update pecl.php.net
- pecl install apc
- To enable apc
- Create apc.ini in the /etc/php.d/ directory
- nano /etc/php.d/apc.ini
extension=apc.so
apc.enabled = 1 apc.shm_size = 48 apc.include_once_override = 1
apc.mmap_file_mask = /tmp/apc.XXXXXX"- to that file and save.
- cp /usr/share/pear/apc.php /var/www/html/apc.php
- edit apc.php, and set a password, you can then use that page to view and manage cache.
Comments
Post a Comment