商品详情
ptcms小说源码+安装教程+带15条ptcms采集规则
20.00
¥150.00     1.3折
销量 0
收藏 0
评价 0
库存 100
20.00 数量:1件
购买数量
1
加入购物车
立即购买
商品详情

ptcms4.2.8小说源码及安装教程,带15条ptcms采集规则


源码介绍

安装步骤:

 1. 安装基本环境

 安装php版本7.3

 2、扩展安装

 安装php扩展 fileinfo

 安装php扩展 memcached

 安装php扩展 memcache

 安装php扩展 swoole或者swoole4

 安装php扩展 swoole_serialize 可选

 3、删除禁用函数

 取消php禁用函数 shell_exec,在PHP里面删除这个参数

 4、安装加密Loader

 在/www/server目录新建ptcms文件夹

 将压缩包根目录里面的 loader73.so和 license复制到刚才新建的ptcms目录

 5、进入php7.3设置,在配置文件里面添加代码,代码安装好后,重启PHP或者重载配置

 extension=/www/server/ptcms/loader73.so

 swoole_license_files=/www/server/ptcms/license

 6、创建网站,上传源码以后,配置网站目录

 运行目录设置为:public

 7、伪静态设置

 if (!-e $request_filename) {

 rewrite ^/(.*)  /index.php?s=$1 last;}

 8、安装程序

 安装地址:域名/install.php,然后输入用户名、数据库名、数据库密码。

 9、采集配置

 添加新书   替换原站 都需要开启在导入!

 10、 配置cron

 连接ssh后用命令进入网站的根目录:

 cd /www/wwwroot/网站根目录名称/

 /www/server/php/73/bin/php kx cron:check


1.png

2.png



购物车

收藏
加入购物车
立即购买