1,将下载的文件解压并改名为'webim'。
2,建立一个mysql的数据库并命名为'webim'。
3,修改/webim/libs/config.php文件如下图代码:
/*
* Application path on server
*/
$webimroot = "/webim";
/*
* Internal encoding
*/
$webim_encoding = "utf-8";
/*
* MySQL Database parameters
*/
$mysqlhost = "localhost";
$mysqldb = "lyj185898";
$mysqllogin = "lyj185898";
$mysqlpass = "lyj456";
$mysqlprefix = "webim_";
$dbencoding = "utf8";
$force_charset_in_connection = true;
/*
* Mailbox
*/
$webim_mailbox = "webim@yourdomain.com";
$mail_encoding = "utf-8";
/*
* Locales
*/
$home_locale = "en"; /* native name will be used in this locale */
$default_locale = "en"; /* if user does not provide known lang */
4,访问 http://localhost/webim/install/ 按照提示安装即可。
5,访问 http://localhost/webim/operator/login.php ,用户名admin,密码为空。
6,访问 http://localhost/webim/client.php,这个是前端的客服页面。