You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hello!
we would like to use frankenphp without octane (our service is still incompatible) so we would love to move from php -f to a frankenphp command that does the same in the entrypoint.
the problem is that we already have other commands like php artisan worker
function fpm() {
echo "fpm is about to start..."
php-fpm -F
}
function migrate() {
echo "migrating db..."
php artisan migrate
}
function worker() {
queue="${1:-}"
# NOTE: WORKER_MEMORY is set bigger arbitrarily big, real php's memory limit is set elsewhere.
if [ -z "${queue}" ]; then
echo "main worker is about to start..."
php artisan queue:work \
--memory="${WORKER_MEMORY:-4096}" \
--timeout="${WORKER_TIMEOUT:-1800}" \
--tries="${WORKER_TRIES:-1}"
else
echo "worker (queue '${queue}') is about to start..."
php artisan queue:work \
--queue="${queue}" \
--memory="${WORKER_MEMORY:-4096}" \
--timeout="${WORKER_TIMEOUT:-1800}" \
--tries="${WORKER_TRIES:-1}"
fi
}
how we have to launch the substitute for php-fpm since franken has the caddy already inside without using the octane server?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
hello!
we would like to use frankenphp without octane (our service is still incompatible) so we would love to move from
php -f
to a frankenphp command that does the same in the entrypoint.the problem is that we already have other commands like
php artisan worker
how we have to launch the substitute for php-fpm since franken has the caddy already inside without using the octane server?
Beta Was this translation helpful? Give feedback.
All reactions