php
php copied to clipboard
Docker Official Image packaging for PHP
Close https://github.com/docker-library/php/issues/1277 renaming `.ini` to `.ini-disabled` is safe, only `*.ini` files are scanned https://github.com/php/php-src/blob/ac1c2dcd6aef087cc87e55dd4d9e8a198bea1fb5/main/php_ini.c#L674 this native ext disable support maintain the original ext config for possible future ext (re)enable
This is a feature request to add easy way to disable php ext. I propose to add `docker-php-ext-disable`, but adding a switch `--disable` to current `docker-php-ext-enable` script will solve this...
PHP default configuration says that it should be 1024: https://www.php.net/manual/en/install.fpm.configuration.php I think that we need to make things consistent as close as possible to defaults coming from PHP itself, as...
This adds `PHP_EXTENSION_DIR` environment variable, so at runtime can easily install extensions there. NOTE: This is WIP to get feedback on the implementation first.
Hello, I have faced issue with http/2 using php:7.2-apache-stretch image. While running apache having such modules enabled: > a2enmod rewrite > a2enmod headers > a2enmod http2 > a2enmod ssl With...
See https://github.com/docker-library/php/issues/358#issuecomment-353686172. :information_source: I didn't link the PR (https://github.com/php/php-src/pull/2310), because it is already linked in the PHP bug-report.
Just wondering why we require perl in image `php:7.1-fpm-stretch`? `/usr/lib/x86_64-linux-gnu/perl => 19MB` ``` # dpkg -S /usr/lib/x86_64-linux-gnu/perl libperl5.24:amd64, perl-base: /usr/lib/x86_64-linux-gnu/perl # apt-cache rdepends --installed perl perl Reverse Depends: autoconf adduser...
I have php-fpm running on docker with the following php.ini: ``` memory_limit = 512M error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT display_errors = Off display_startup_errors = Off log_errors = On...
The configuration in `/usr/local/etc/php-fpm.d/` is a bit unclear to me: ``` loot@92aa5b2f8217:/usr/local/etc# ls -la php-fpm.d/ total 56 drwxr-sr-x 2 root staff 4096 Jun 8 18:32 . drwxrwsr-x 5 root staff...
If you enter a URL in browser pointing to a PHP file and `.php` at the end is not all lowercase (e.g. `.phP`, `.pHp`, `.PHP`, like `example.com/index.PHP`), Apache shows content...