heroku / heroku/buildpacks-php
Buildpack hardcodes client_body_temp_path to a .heroku path
- Dominant language
- Rust
- Stars
- 8
- Forks
- 6
- Avg merge
- 6h 29m
- Merged PRs (30d)
- 7
Description
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](https://github.com/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.
```
Contributor guide
Assessment
This issue has not been assessed yet.