Replace old PHP7 example with PHP8

This commit is contained in:
Tim de Pater 2021-10-07 21:37:35 +02:00
parent 6a440c890f
commit df1a00c979
No known key found for this signature in database
GPG Key ID: BFE5D809439C9723

View File

@ -51,11 +51,11 @@ Nginx configuration:
PHP configuration: PHP configuration:
docker run -v "`pwd`/php-setting.ini:/etc/php7/conf.d/settings.ini" trafex/php-nginx docker run -v "`pwd`/php-setting.ini:/etc/php8/conf.d/settings.ini" trafex/php-nginx
PHP-FPM configuration: PHP-FPM configuration:
docker run -v "`pwd`/php-fpm-settings.conf:/etc/php7/php-fpm.d/server.conf" trafex/php-nginx docker run -v "`pwd`/php-fpm-settings.conf:/etc/php8/php-fpm.d/server.conf" trafex/php-nginx
_Note; Because `-v` requires an absolute path I've added `pwd` in the example to return the absolute path to the current directory_ _Note; Because `-v` requires an absolute path I've added `pwd` in the example to return the absolute path to the current directory_