Giter Site home page Giter Site logo

llaumgui / docker-images-php-fpm Goto Github PK

View Code? Open in Web Editor NEW
11.0 11.0 11.0 174 KB

Repository with my php-fpm's Dockerfile for my Docker/Podman images.

Home Page: https://hub.docker.com/u/llaumgui/

License: MIT License

Dockerfile 96.96% Shell 3.04%
docker docker-image dockerfile php php-fpm

docker-images-php-fpm's People

Contributors

dependabot[bot] avatar llaumgui avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

docker-images-php-fpm's Issues

Change the value of AuthnCacheContext?

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.

No XDebug 8.0 & 8.1

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?

7.4, 7.3 no imagick module

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

Change the value of ServerTokens?

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.