Closed Fliw closed 5 months ago
update: So, i've read the documentation and found how to configure worker, so i've change my Caddyfile like this in my laravel app
{
frankenphp
order php_server before file_server
auto_https off
frankenphp {
worker public/index.php 2
}
}
http://myweb.com:69 {
root * public/
encode zstd gzip
php_server {
resolve_root_symlink
}
}
when i start the ./frankenphp run, it goes like this
until it exit automatically, any help?
any help?
Your worker is exiting, causing it to restart, most likely. You don't include enough information to really be able to help out here.
hi, thankyou for helping, BTW i've solved this issue by using laravel octane and not standalone library, it works like a charm 🪄
hi, thankyou for helping, BTW i've solved this issue by using laravel octane and not standalone library, it works like a charm 🪄
Can you share what you had done? Dont tell me that you only installed laravel octane? I have the same errors while laravel octane is installed, the fact that i wanna clarify config as much as possible and also wanna set worker
What happened?
Hey, thanks for creating this, i've installed franken php on my root directory, i'm using this repo to set frankenphp on my laravel https://github.com/Kamleshpaul/setup-laravel-with-frankenphp,
this is the mechanism :
http://myweb.com:69 { root * public/ encode zstd gzip php_server { resolve_root_symlink worker { num_workers 2 max_request 500 } } }
Relevant log output
No response