CentOS 5.8安装SugarCRM 6.5版本

环境:CentOS 5.8,安装了Asterisk 1.8

下载SugarCRM 6.5版本
cd /var/www/html
wget http://nchc.dl.sourceforge.net/project/sugarcrm/1%20-%20SugarCRM%206.5.0/SugarCommunityEdition-6.5.0/SugarCE-6.5.2.zip
unzip SugarCE-6.5.2.zip
ln -s SugarCE-Full-6.5.2/ SugarCE

chown asterisk:asterisk SugarCE* -R

浏览器访问  http://192.168.100.103/SugarCE/install.php

提示session.save_path设置错误

cd /var/www/html/SugarCRM/

创建文件phpinfo.php
<?php phpinfo(); ?>
浏览器访问 http://192.168.100.103/SugarCE/phpinfo.php
 看到/var/lib/php/session

mkdir /var/lib/php/session_sugarcrm
chown asterisk:asterisk /var/lib/php/session_sugarcrm
touch .htaccess
vi .htaccess

php_value session.save_path /var/lib/php/session_sugarcrm

/etc/init.d/httpd restart

提示mbstring没有启用

CentOS 5.8缺省的php没有启用mbstring
yum -y install php-mbstring
在/etc/php.ini的加入extension=mbstring.so
编辑/etc/php.ini

提示
PHP Memory Limit  32M (Set this to 41943040M or larger in your php.ini file)
IMAP Module  Not found: InboundEmail and Campaigns (Email) require the IMAP libraries. Neither will be functional.
Upload File Size  Warning: Your PHP configuration should be changed to allow files of at least 6MB to be uploaded.

http://code.google.com/p/sugarcrmcn/downloads/list
cd  /var/www/html/SugarCE
wget http://code.google.com/p/sugarcrmcn/downloads/detail?name=SugarCRM-LangPack-zh_cn-6.1.1.zip&can=2&q=
unzip SugarCRM-LangPack-zh_tw-6.2.3.zip


修改config.php
  array (
    'en_us' => 'English (US)',
    'zh_cn' => 'Chinese'
  ),

5、浏览器访问  http://192.168.100.103/SugarCE/

退出并重新登录,将会出现English Chinese语言选择。

第一次登陆,会提示进行地区等设置。

设置完成后,

修改config.php,让CRM缺省为中文,可以另外选择英文。

  'default_language' => 'zh_cn',

相关推荐