From 9cb902a81986a44cf3f78604ce1b81a1d988d856 Mon Sep 17 00:00:00 2001 From: alchimik Date: Sat, 25 Feb 2017 11:11:45 +0800 Subject: [PATCH] fix php warning in php-fpm: "Unable to load dynamic library aerospike" (#622) * fix php warning in php-fpm: "Unable to load dynamic library aerospike" * fix php warning in php-fpm: "Unable to load dynamic library aerospike" * simplify solution * Update Dockerfile-56 * Update Dockerfile-70 --- php-fpm/Dockerfile-56 | 1 + php-fpm/Dockerfile-70 | 1 + php-fpm/aerospike.ini | 1 - 3 files changed, 2 insertions(+), 1 deletion(-) diff --git a/php-fpm/Dockerfile-56 b/php-fpm/Dockerfile-56 index 0f7e0661..acd02b80 100644 --- a/php-fpm/Dockerfile-56 +++ b/php-fpm/Dockerfile-56 @@ -125,6 +125,7 @@ RUN if [ ${INSTALL_AEROSPIKE_EXTENSION} = true ]; then \ && make install \ ) \ && rm /tmp/aerospike-client-php.tar.gz \ + && docker-php-ext-enable aerospike \ ;fi ##################################### diff --git a/php-fpm/Dockerfile-70 b/php-fpm/Dockerfile-70 index 93deeae0..20aaf5a9 100644 --- a/php-fpm/Dockerfile-70 +++ b/php-fpm/Dockerfile-70 @@ -160,6 +160,7 @@ RUN if [ ${INSTALL_AEROSPIKE_EXTENSION} = true ]; then \ && make install \ ) \ && rm /tmp/aerospike-client-php.tar.gz \ + && docker-php-ext-enable aerospike \ ;fi ##################################### diff --git a/php-fpm/aerospike.ini b/php-fpm/aerospike.ini index f9c8f614..2f2aa1b7 100644 --- a/php-fpm/aerospike.ini +++ b/php-fpm/aerospike.ini @@ -1,3 +1,2 @@ -extension=aerospike.so aerospike.udf.lua_system_path=/usr/local/aerospike/lua aerospike.udf.lua_user_path=/usr/local/aerospike/usr-lua \ No newline at end of file