llaumgui / docker-images-php-fpm Goto Github PK
View Code? Open in Web Editor NEWRepository with my php-fpm's Dockerfile for my Docker/Podman images.
Home Page: https://hub.docker.com/u/llaumgui/
License: MIT License
Repository with my php-fpm's Dockerfile for my Docker/Podman images.
Home Page: https://hub.docker.com/u/llaumgui/
License: MIT License
Thanks for providing the container! I have a question about one httpd config:AuthnCacheContext
.
It seems the official document recommends to change the default directory
, which is conservative and not optimal. A better policy is to name the AuthnCacheContext
for the password provider: for example a htpasswd file or database table.
Maybe it's better to set that to specify a context string for use in the cache keyin the comfig file? Thanks.
PHP Version 8.0.21
Configure Command './configure' '--build=x86_64-linux-musl'
'--with-config-file-path=/usr/local/etc/php'
'--with-config-file-scan-dir=/usr/local/etc/php/conf.d'
'--enable-option-checking=fatal'
'--with-mhash'
'--with-pic'
'--enable-ftp'
'--enable-mbstring'
'--enable-mysqlnd'
'--with-password-argon2'
'--with-sodium=shared'
'--with-pdo-sqlite=/usr'
'--with-sqlite3=/usr'
'--with-curl'
'--with-iconv=/usr'
'--with-openssl'
'--with-readline'
'--with-zlib'
'--disable-phpdbg'
'--with-pear'
'--disable-cgi'
'--enable-fpm'
'--with-fpm-user=www-data'
'--with-fpm-group=www-data'
'build_alias=x86_64-linux-musl'
Debug Build no
FROM llaumgui/php:8.0
build:
context: ./docker/build/
dockerfile: phpfpm
args:
DOCKER_PHP_ENABLE_XDEBUG: 'on'
'--disable-phpdbg'
? Why?
PHP Warning: PHP Startup: Unable to load dynamic library 'imagick' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20180731/imagick (Error loading shared library /usr/local/lib/php/extensions/no-debug-non-zts-20180731/imagick: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20180731/imagick.so (Error loading shared library libgomp.so.1: No such file or directory (needed by /usr/local/lib/php/extensions/no-debug-non-zts-20180731/imagick.so))) in Unknown on line 0
PHP 7.3.32 (cli) (built: Oct 28 2021 16:58:59) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.3.32, Copyright (c) 1998-2018 Zend Technologies
with Zend OPcache v7.3.32, Copyright (c) 1999-2018, by Zend Technologies
In the config file, ServerTokens is set to Prod, which gives the least infomation.
However, the Httpd official document recommends to set ServerTokens to Full / OS.
"Setting ServerTokens to less than minimal is not recommended because it makes it more difficult to debug interoperational problems. "
I wonder if you change the value of this parameter on purpose. Thanks.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.