Skip to content

Commit

Permalink
Merge pull request #44 from devsapp/refine-php-other
Browse files Browse the repository at this point in the history
fix session path
  • Loading branch information
rsonghuster authored Apr 22, 2022
2 parents ecdd7e3 + c22c03a commit f54fe6a
Show file tree
Hide file tree
Showing 19 changed files with 33 additions and 14 deletions.
4 changes: 3 additions & 1 deletion update.list
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
web-framework/php/ecshop
web-framework/php/metinfo
web-framework/php/typecho
web-framework/php/whatsns
web-framework/php/whatsns
web-framework/php/discuz
web-framework/php/zblog
2 changes: 1 addition & 1 deletion web-framework/php/discuz/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Type: Application
Name: start-discuz
Provider:
- 阿里云
Version: 1.2.6
Version: 1.2.7
Description: Crossday Discuz! Board(简称 Discuz!)是一套通用的社区论坛软件系统
HomePage: https://github.com/devsapp/start-web-framework
Tags:
Expand Down
2 changes: 1 addition & 1 deletion web-framework/php/discuz/src/code/php.ini
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ bcmath.scale = 0

[Session]
session.save_handler = files
session.save_path=/mnt/auto/sessions
session.save_path=/mnt/auto/discuz/sessions
session.use_strict_mode = 0
session.use_cookies = 1
session.use_only_cookies = 1
Expand Down
3 changes: 3 additions & 0 deletions web-framework/php/discuz/src/code/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ mkdir -p /tmp/log/nginx/
mkdir -p /tmp/var/nginx/
mkdir -p /tmp/var/sessions/

mkdir -p /mnt/auto/discuz/sessions
chown -R www-data:www-data /mnt/auto/discuz/sessions

chown -R www-data:www-data /mnt/auto/discuz

echo "start php-fpm"
Expand Down
2 changes: 1 addition & 1 deletion web-framework/php/ecshop/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Type: Application
Name: start-ecshop
Provider:
- 阿里云
Version: 1.2.6
Version: 1.2.7
Description: ECShop是一款B2C独立网店系统,适合企业及个人快速构建个性化网上商店。系统是基于PHP语言及MYSQL数据库构架开发的跨平台开源程序
HomePage: https://github.com/devsapp/start-web-framework
Tags:
Expand Down
2 changes: 1 addition & 1 deletion web-framework/php/ecshop/src/code/php.ini
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ bcmath.scale = 0

[Session]
session.save_handler = files
session.save_path=/mnt/auto/sessions
session.save_path=/mnt/auto/ecshop/sessions
session.use_strict_mode = 0
session.use_cookies = 1
session.use_only_cookies = 1
Expand Down
3 changes: 3 additions & 0 deletions web-framework/php/ecshop/src/code/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ mkdir -p /tmp/log/nginx/
mkdir -p /tmp/var/nginx/
mkdir -p /tmp/var/sessions/

mkdir -p /mnt/auto/ecshop/sessions
chown -R www-data:www-data /mnt/auto/ecshop/sessions

chown -R www-data:www-data /mnt/auto/ecshop

echo "start php-fpm"
Expand Down
2 changes: 1 addition & 1 deletion web-framework/php/metinfo/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Type: Application
Name: start-metinfo
Provider:
- 阿里云
Version: 1.2.5
Version: 1.2.6
Description: MetInfo 又称米拓企业建站系统,是采用PHP+Mysql架构的企业建站系统
HomePage: https://github.com/devsapp/start-web-framework
Tags:
Expand Down
2 changes: 1 addition & 1 deletion web-framework/php/metinfo/src/code/php.ini
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ bcmath.scale = 0

[Session]
session.save_handler = files
session.save_path=/mnt/auto/sessions
session.save_path=/mnt/auto/metinfo/sessions
session.use_strict_mode = 0
session.use_cookies = 1
session.use_only_cookies = 1
Expand Down
3 changes: 3 additions & 0 deletions web-framework/php/metinfo/src/code/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ mkdir -p /tmp/log/nginx/
mkdir -p /tmp/var/nginx/
mkdir -p /tmp/var/sessions/

mkdir -p /mnt/auto/metinfo/sessions
chown -R www-data:www-data /mnt/auto/metinfo/sessions

chown -R www-data:www-data /mnt/auto/metinfo

echo "start php-fpm"
Expand Down
4 changes: 2 additions & 2 deletions web-framework/php/typecho/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Type: Application
Name: start-typecho
Provider:
- 阿里云
Version: 1.2.6
Version: 1.2.7
Description: Typecho是由type和echo两个词合成的,来自于开发团队的头脑风暴。Typecho基于PHP5开发,支持多种数据库,是一款内核强健﹑扩展方便﹑体验友好﹑运行流畅的轻量级开源博客程序
HomePage: https://github.com/devsapp/start-web-framework
Tags:
Expand Down Expand Up @@ -63,6 +63,6 @@ Parameters:
functionName:
title: 函数名
type: string
default: whatsns
default: typecho
description: 函数名称,只能包含字母、数字、下划线和中划线。不能以数字、中划线开头。长度在 1-64 之间

2 changes: 1 addition & 1 deletion web-framework/php/typecho/src/code/php.ini
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ bcmath.scale = 0

[Session]
session.save_handler = files
session.save_path=/mnt/auto/sessions
session.save_path=/mnt/auto/typecho/sessions
session.use_strict_mode = 0
session.use_cookies = 1
session.use_only_cookies = 1
Expand Down
3 changes: 3 additions & 0 deletions web-framework/php/typecho/src/code/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ mkdir -p /tmp/log/nginx/
mkdir -p /tmp/var/nginx/
mkdir -p /tmp/var/sessions/

mkdir -p /mnt/auto/typecho/sessions
chown -R www-data:www-data /mnt/auto/typecho/sessions

chown -R www-data:www-data /mnt/auto/typecho

echo "start php-fpm"
Expand Down
2 changes: 1 addition & 1 deletion web-framework/php/whatsns/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Type: Application
Name: start-whatsns
Provider:
- 阿里云
Version: 1.2.5
Version: 1.2.6
Description: whatsns是一款社交类APP软件,站长可以对使用whatsns产品进行交流,可以搭建垂直领域社区的软件
HomePage: https://github.com/devsapp/start-web-framework
Tags:
Expand Down
2 changes: 1 addition & 1 deletion web-framework/php/whatsns/src/code/php.ini
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ bcmath.scale = 0

[Session]
session.save_handler = files
session.save_path=/mnt/auto/sessions
session.save_path=/mnt/auto/whatsns/sessions
session.use_strict_mode = 0
session.use_cookies = 1
session.use_only_cookies = 1
Expand Down
3 changes: 3 additions & 0 deletions web-framework/php/whatsns/src/code/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ mkdir -p /tmp/log/nginx/
mkdir -p /tmp/var/nginx/
mkdir -p /tmp/var/sessions/

mkdir -p /mnt/auto/whatsns/sessions
chown -R www-data:www-data /mnt/auto/whatsns/sessions

chown -R www-data:www-data /mnt/auto/whatsns

echo "start php-fpm"
Expand Down
2 changes: 1 addition & 1 deletion web-framework/php/zblog/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Type: Application
Name: start-zblog
Provider:
- 阿里云
Version: 1.2.4
Version: 1.2.5
Description: Z-Blog是由Z-Blog开发团队开发的一款小巧而强大的基于Asp和PHP平台的开源程序,致力于给用户提供优秀的博客写作体验
HomePage: https://github.com/devsapp/start-web-framework
Tags:
Expand Down
2 changes: 1 addition & 1 deletion web-framework/php/zblog/src/code/php.ini
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ bcmath.scale = 0

[Session]
session.save_handler = files
session.save_path=/mnt/auto/sessions
session.save_path=/mnt/auto/Z-Blog/sessions
session.use_strict_mode = 0
session.use_cookies = 1
session.use_only_cookies = 1
Expand Down
2 changes: 2 additions & 0 deletions web-framework/php/zblog/src/code/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ set +e
mkdir -p /tmp/log/nginx/
mkdir -p /tmp/var/nginx/
mkdir -p /tmp/var/sessions/
mkdir -p /mnt/auto/Z-Blog/sessions
chown -R www-data:www-data /mnt/auto/Z-Blog/sessions

chown -R www-data:www-data /mnt/auto/Z-Blog

Expand Down

0 comments on commit f54fe6a

Please sign in to comment.