【ThinkPHP学习】SAE的thinkphp的memcache开启

RT.

SAE上部署自己的thinkphp框架,所需要做的三步:

1.数据库配置:

	'DB_PREFIX'=>'fl_',
	'DB_CHARSET'=>'utf8',

2.入口文件配置:

       

	define(‘ENGINE_NAME’,’SAE’);
        require './thinkphp/ThinkPHP/Mode/sae.php'; 
        require './thinkphp/ThinkPHP/ThinkPHP.php';
	

3.开启sae的memcache功能

   否则会出现使用thinkphp框架的应用无法访问的结果。

猜你喜欢

转载自blog.csdn.net/killzero/article/details/39374875