随笔分类 - ECstore
ECSTORE使用小记
摘要:在Linux CentOS系统上安装完php和MySQL后,为了使用方便,需要将php和mysql命令加到系统命令中,如果在没有添加到环境变量之前,执行 “php -v”命令查看当前php版本信息时时,则会提示命令不存在的错误,下面我们详细介绍一下在linux下将php和mysql加入到环境变量中的...
阅读全文
摘要:执行如下sql语句: INSERT INTO `sdb_ectools_analysis` (`id`, `service`, `interval`, `modify`) VALUES (1, 'b2c_analysis_advance', 'day', 1374940800), (2, 'b2c_analysis_sale', 'day', 1374940800), (3, 'b2c_analysis_shopsale', 'day', 1374940800);
阅读全文
摘要:install sphinxwget http://sphinxsearch.com/files/sphinx-2.0.8-release.tar.gztar zxvf sphinx-2.0.8-release.tar.gzcd sphinx-2.0.8-release./configure --prefix=/usr/local/webserver/sphinx --with-mysql=/usr/local/webserver/mysql/make && make install注释:--prefix : 指定Sphinx安装到何处,我的安装目录是“/usr/local/w
阅读全文
摘要:通过又拍云存储REST API ,为ECStore新增图片存储引擎,从而达到图片数据与主站数据分离。提高网站性能。图片存储引擎相关文件添加与修改一共涉及到ECStore 2个APP 的文件添加和修改。新增 :app/base/lib/storage/upyunclass.phpcode}]: {$this->message}\n"; }}/*}}}*/class UpYunAuthorizationException extends UpYunException {/*{{{*/ public function __construct($message, $code = 0,
阅读全文
摘要:修改app/image/lib/clip.php文件 }elseif( function_exists('imagecopyresampled')){ $quality = 80; $image_p = imagecreatetruecolor($new_width, $new_height);将上面$quality = 80;修改为$quality = 100;保存,然后重新生成全站图片。
阅读全文
摘要:Nginx基本配置(另存为nginx.conf直接可以使用):#user nobody; worker_processes 1; error_log logs/error.log; #error_log logs/error.log notice; #error_log logs/error.log info; #pid logs/nginx.pid; events { worker_connections 1024; } http { include mime.types; ...
阅读全文
摘要:一、修改 nginx.conf文件,添加如下代码: if ($request_uri ~ (.+?\.php)(|/.+)$ ){ break; } if (!-e $request_filename) { rewrite ^/(.*)$ /index.php/$1 last; }二、修改配置文件:define('WITH_REWRITE',true);重启nginx补充说明if ($request_uri ~ (.+?\.php)(|/.*)$...
阅读全文

浙公网安备 33010602011771号