-
Notifications
You must be signed in to change notification settings - Fork 472
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
修复从软链目录启动laravels后, 更新软链指向路径, reload不生效 #29
Conversation
👍👍👍Nice!
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
感谢参与。
src/Config/laravels.php
Outdated
@@ -53,6 +53,7 @@ | |||
'reload_async' => true, | |||
'max_wait_time' => 60, | |||
'enable_reuse_port' => true, | |||
'laravels_base_path' => env('LARAVELS_BASE_PATH', ''), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- laravels_base_path改为laravel_base_path
- 默认值改修改 env('LARAVEL_BASE_PATH', base_path())
src/Illuminate/LaravelSCommand.php
Outdated
if (empty($svrConf['swoole']['document_root'])) { | ||
$svrConf['swoole']['document_root'] = base_path('public'); | ||
$svrConf['swoole']['document_root'] = $basePath ? $basePath . '/public' : base_path('public'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
此处的三目运算有点多余
Hi, @hhxsv5 1. 名称修改已经 fix; 2. 多处调用 |
不会依赖 |
Thanks. |
线上环境从 php-fpm 模式迁移到 laravels, 遇到上线代码重启不生效问题
fpm部署上线操作:
修改为laravels上线操作问题复现步骤: