Skip to content

Commit d63bd31

Browse files
committed
Update PHP image reference in customization documentation and clarify APP_BASE_DIR environment variable usage in reference guide.
1 parent dd72619 commit d63bd31

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

docs/content/docs/6.customizing-the-image/1.changing-common-php-settings.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Here are a few examples on how you can change common PHP settings.
1919
```yml [compose.yml] {4-6}
2020
services:
2121
php:
22-
image: serversideup/php:8.2.12-unit-bookworm
22+
image: serversideup/php:8.2.12-fpm-nginx-bookworm
2323
environment:
2424
PHP_POST_MAX_SIZE: "500M"
2525
PHP_UPLOAD_MAX_FILE_SIZE: "500M"

docs/content/docs/8.reference/1.environment-variable-specification.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Setting environment variables all depends on what method you're using to run you
2727
`APACHE_START_SERVERS`<br />*Default: "2"*|Sets the number of child server processes created on startup.(<a target="_blank" href="https://httpd.apache.org/docs/2.4/mod/mpm_common.html#startservers">Official docs</a>)|fpm-apache
2828
`APACHE_THREAD_LIMIT`<br />*Default: "64"*|Set the maximum configured value for ThreadsPerChild for the lifetime of the Apache httpd process. (<a target="_blank" href="https://httpd.apache.org/docs/2.4/mod/mpm_common.html#threadlimit">Official docs</a>)|fpm-apache
2929
`APACHE_THREADS_PER_CHILD`<br />*Default: "25"*|This directive sets the number of threads created by each child process. (<a target="_blank" href="https://httpd.apache.org/docs/2.4/mod/mpm_common.html#threadsperchild">Official docs</a>)|fpm-apache
30-
`APP_BASE_DIR`<br />*Default: "/var/www/html"*|Change this only if you mount your application to a different directory within the container. ℹ️ Be sure to change `NGINX_WEBROOT`, `APACHE_DOCUMENT_ROOT`, `UNIT_WEBROOT`, etc if it applies to your use case as well.|all
30+
`APP_BASE_DIR`<br />*Default: "/var/www/html"*|Change this only if you mount your application to a different directory within the container. ℹ️ Be sure to change `NGINX_WEBROOT`, `APACHE_DOCUMENT_ROOT`, or `CADDY_SERVER_ROOT` if it applies to your use case as well.|all
3131
`AUTORUN_DEBUG`<br />*Default: "false"*|Enable debug mode for the Laravel automations. | all
3232
`AUTORUN_ENABLED`<br />*Default: "false"*|Enable or disable all automations. It's advised to set this to `false` in certain CI environments (especially during a composer install). If this is set to `false`, all `AUTORUN_*` behaviors will also be disabled.| all
3333
`AUTORUN_LARAVEL_OPTIMIZE`<br />*Default: "true"*|Automatically run "php artisan optimize" on container, attempting to `--except` in Laravel > `v11.38.0` (<a target="_blank" href="https://laravel.com/docs/12.x/deployment#optimization">Official docs</a>) <br />ℹ️ Requires `AUTORUN_ENABLED = true` to run. | all

0 commit comments

Comments
 (0)