Proposal: Add info about PHP process to the README #60
Closed
sebastiandeppisch
started this conversation in
Ideas
Replies: 2 comments
-
Hey @sebastiandeppisch 👋 |
Beta Was this translation helpful? Give feedback.
0 replies
-
Starting from version 0.9.0, when you run |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I tried the package with the Laravel dev server
php artisan serve
and was confused by the fact that my app no longer responded in the browser. But the dev server has only 1 HTTP connection by default.This can be changed via ENV:
Just add e.g.
PHP_CLI_SERVER_WORKERS=10
to .env
https://www.php.net/manual/en/features.commandline.webserver.php
It probably makes general sense to mention in the README that you have to change this with artisan serve or that you have to consider the number of workers independently of the delployments.
Beta Was this translation helpful? Give feedback.
All reactions