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
I am a junior Symfony dev, and I started a presonnal project recently with Caddy and PHP-FPM (unsuccessfully).
Now, I am trying to use FrankenPHP, but I am a bit confused with setting up distinctive development and production environments.
Indeed, I was previously setting up the php.ini file with the given php-development.ini and php-production.ini from PHP-FPM, as well as adding my own config into this file.
In the frankenphp repository, I saw that there is a dev.Dockerfile using the php-development.ini file, but appart from that, I don't know how I can use the php-production.ini file in my production environment, and how I should use dev.Dockerfile.
Is the default image using this php-production.ini file (didn't saw it) ? And how can I access this dev.Dockerfile so I can set up my own development image ? I was previously using Dockerfile stages with base, dev and prod for PHP-FPM, but I think for frankenphp using two separated images is a better way of doing things.
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 !
I am a junior Symfony dev, and I started a presonnal project recently with Caddy and PHP-FPM (unsuccessfully).
Now, I am trying to use FrankenPHP, but I am a bit confused with setting up distinctive development and production environments.
Indeed, I was previously setting up the php.ini file with the given
php-development.ini
andphp-production.ini
from PHP-FPM, as well as adding my own config into this file.In the frankenphp repository, I saw that there is a
dev.Dockerfile
using thephp-development.ini
file, but appart from that, I don't know how I can use thephp-production.ini
file in my production environment, and how I should usedev.Dockerfile
.Is the default image using this
php-production.ini
file (didn't saw it) ? And how can I access thisdev.Dockerfile
so I can set up my own development image ? I was previously using Dockerfile stages with base, dev and prod for PHP-FPM, but I think for frankenphp using two separated images is a better way of doing things.Beta Was this translation helpful? Give feedback.
All reactions