Commit Graph

12 Commits

Author SHA1 Message Date
Christian Daguerre
d5bdcd6f8c
fix hardcoded ini dir 2018-11-09 10:21:18 +01:00
Tianon Gravi
f504394473 Fix a few superficial issues with "docker-php-ext-enable" 2018-04-19 12:51:31 -07:00
Tianon Gravi
1a00d92ff4 Switch from "nm" to "readelf" so that we can detect the "zend_extension_entry" symbol even in stripped objects 2017-12-08 16:25:01 -08:00
Tianon Gravi
511db0eb59 Fix "ouptut" typo from https://github.com/docker-library/php/pull/497 2017-09-19 17:03:52 -07:00
Joe Ferguson
c7a848cc37 Explain that some modules listed in docker-php-ext-* scripts are already compiled in 2017-09-19 15:43:41 -07:00
Tianon Gravi
4cfa24e13f Install "binutils" in "docker-php-ext-enable" if needed
This matches the behavior of `docker-php-ext-configure` and `docker-php-ext-install`, and ensures that `nm` is installed and then removed in Alpine where necessary.
2017-05-04 11:43:14 -07:00
Tianon Gravi
3bf5b82235 Convert all Dockerfiles to be template-based, and resync a few minor bits of Alpine and Debian (libedit in both, no recode in either, POSIX shell versions of docker-php-ext-* scripts for all) 2016-03-18 10:57:31 -07:00
Tianon Gravi
ad14a69d31 Add "--ini-name" flag to docker-php-ext-enable (especially for controlling order) 2016-01-19 16:51:47 -08:00
Tianon Gravi
bdf240ee2a Use "nm" to list actual symbols from the module to check for the "zend_extension_entry" symbol (fixes false positives like xcache) 2016-01-06 16:30:39 -08:00
Dmitry Lukashin
a3508a6653 Get rid of unneeded variable 2015-08-07 03:48:56 +03:00
Dmitry Lukashin
878e6efc37 Full path for loading zend extensions 2015-08-07 03:05:52 +03:00
Tianon Gravi
fef9f6ec8a Add new "docker-php-ext-enable" script for more intelligent module enabling
This also updates `docker-php-ext-install` to invoke this script properly after successful extension compilation.

If modules are determined to already be enabled, it'll skip them appropriately.

This removes simple warnings like `PHP Warning:  Module 'curl' already loaded in Unknown on line 0`, and enables things like `pecl install mongo && docker-php-ext-enable mongo`.
2015-08-04 16:04:25 -07:00