How i able change settings PHP-FPM in app platform?

I deploy php symfony to App Platform and i want change php-fpm settings. I create file ‘’ in root. My Procfile:

web: heroku-php-nginx -C nginx.conf -F public/

But i don’t see my settings php-fpm applied. My deploy log:

[2022-12-03 16:01:40] DOCUMENT_ROOT changed to 'public/'
[2022-12-03 16:01:40] Using Nginx server-level configuration include 'nginx.conf'
[2022-12-03 16:01:41] Assuming 512MB of RAM
[2022-12-03 16:01:41] $WEB_CONCURRENCY env var is set, skipping automatic calculation
[2022-12-03 16:01:41] Starting php-fpm with 16 workers...
[2022-12-03 16:01:42] Starting nginx...
[2022-12-03 16:01:42] Application ready for connections on port 8080.

But them should contain string like “Using PHP-FPM configuration include '” from

On locally, then i build image pack build blablabla --builder heroku/buildpacks:2 and run them docker run --rm -e 'PORT=8080' -e 'APP_ENV=prod' -p 8080:8080 blablabla i see, it’s right:

DOCUMENT_ROOT changed to 'public/'
Using PHP-FPM configuration include ''
Using Nginx server-level configuration include 'nginx.conf'
Assuming 512MB of RAM
$WEB_CONCURRENCY env var is set, skipping automatic calculation
Starting php-fpm with 1 workers...
Starting nginx...
Application ready for connections on port 8080.

And $HEROKU_PHP_FPM_CONFIG_INCLUDE is empty in container.

What am i doing wrong?

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Yes, i can set ENV $HEROKU_PHP_FPM_CONFIG_INCLUDE explicitly, but why param -F not working i don’t understand

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

card icon
Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Sign up
card icon
Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We’d like to help.

Learn more
card icon
Become a contributor

You get paid; we donate to tech nonprofits.

Learn more
Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow – whether you’re running one virtual machine or ten thousand.

Learn more ->
DigitalOcean Cloud Control Panel