Skip to content
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

supervisor中无法使用PHP #512

Open
admin953006367 opened this issue Aug 23, 2022 · 4 comments
Open

supervisor中无法使用PHP #512

admin953006367 opened this issue Aug 23, 2022 · 4 comments

Comments

@admin953006367
Copy link

admin953006367 commented Aug 23, 2022

ERROR: Process php: no such file

@shunhua
Copy link

shunhua commented Oct 27, 2022

作者现在还没完善这个?

@xuanyue0522
Copy link

同问,请问这个如何解决?

1 similar comment
@mrjie123
Copy link

同问,请问这个如何解决?

@cjango
Copy link

cjango commented Dec 28, 2023

在宿主机中使用supervisor

[program:Laravel-horizon]
process_name=%(program_name)s
command=docker exec php8 php /www/Laravel/artisan horizon # 容器路径
autostart=true
autorestart=true
numprocs=1
user=root
redirect_stderr=true
stdout_logfile_maxbytes=10MB
stdout_logfile_backups=20
stopwaitsecs=3600
stdout_logfile=/root/dnmp/logs/supervisor/larave-horizon.log # 宿主机路径

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants