Skip to content

Buildpack hardcodes client_body_temp_path to a .heroku path #73

@jose-fully-ported

Description

@jose-fully-ported

Hi! I was messing around with the CNB buildpack (to compare it with the v2a-one, featureset-wise) and it seems that building the default heroku/php-getting-started app fails with nginx.

Change the Procfile to this:

web: heroku-php-nginx web/

Then run the following in that repo:

pack build myapp:latest --path .

Finally, run the container:

docker run --rm -it myapp:latest

Here is the output:

Assuming 512MB of RAM
PHP memory_limit is 128M Bytes
Starting php-fpm with 4 workers...
Starting nginx...
nginx: [emerg] mkdir() "/app/.heroku/php/var/run/nginx/client_body_temp" failed (2: No such file or directory)
Process exited unexpectedly: nginx, shutting down...
Stopping php-fpm gracefully...
Shutdown complete.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions