Merge pull request #2882 from PavelSavushkinMix/fix/php5.6_turn_off_aerospike_build
fix(aerospike extension): turn off build in Travis due to image version
This commit is contained in:
commit
d6b7d95f34
|
@ -18,6 +18,7 @@ if [ -n "${PHP_VERSION}" ]; then
|
||||||
if [ "${PHP_VERSION}" == "5.6" ]; then
|
if [ "${PHP_VERSION}" == "5.6" ]; then
|
||||||
# Aerospike C Client SDK 4.0.7, Debian 9.6 is not supported
|
# Aerospike C Client SDK 4.0.7, Debian 9.6 is not supported
|
||||||
# https://github.com/aerospike/aerospike-client-php5/issues/145
|
# https://github.com/aerospike/aerospike-client-php5/issues/145
|
||||||
|
sed -i -- 's/WORKSPACE_INSTALL_AEROSPIKE=true/WORKSPACE_INSTALL_AEROSPIKE=false/g' .env
|
||||||
sed -i -- 's/PHP_FPM_INSTALL_AEROSPIKE=true/PHP_FPM_INSTALL_AEROSPIKE=false/g' .env
|
sed -i -- 's/PHP_FPM_INSTALL_AEROSPIKE=true/PHP_FPM_INSTALL_AEROSPIKE=false/g' .env
|
||||||
fi
|
fi
|
||||||
if [ "${PHP_VERSION}" == "7.3" ]; then
|
if [ "${PHP_VERSION}" == "7.3" ]; then
|
||||||
|
|
|
@ -890,13 +890,17 @@ RUN set -xe; \
|
||||||
&& make install \
|
&& make install \
|
||||||
) \
|
) \
|
||||||
else \
|
else \
|
||||||
|
if [ $(php -r "echo PHP_MAJOR_VERSION;") = "7" ]; then \
|
||||||
( \
|
( \
|
||||||
cd /tmp/aerospike-client-php/src \
|
cd /tmp/aerospike-client-php/src \
|
||||||
&& phpize \
|
&& phpize \
|
||||||
&& ./build.sh \
|
&& ./build.sh \
|
||||||
&& make install \
|
&& make install \
|
||||||
) \
|
) \
|
||||||
fi \
|
else \
|
||||||
|
echo "AEROSPIKE does not support PHP 8.0" \
|
||||||
|
;fi \
|
||||||
|
;fi \
|
||||||
&& rm /tmp/aerospike-client-php.tar.gz \
|
&& rm /tmp/aerospike-client-php.tar.gz \
|
||||||
&& echo 'extension=aerospike.so' >> /etc/php/${LARADOCK_PHP_VERSION}/cli/conf.d/aerospike.ini \
|
&& echo 'extension=aerospike.so' >> /etc/php/${LARADOCK_PHP_VERSION}/cli/conf.d/aerospike.ini \
|
||||||
&& echo 'aerospike.udf.lua_system_path=/usr/local/aerospike/lua' >> /etc/php/${LARADOCK_PHP_VERSION}/cli/conf.d/aerospike.ini \
|
&& echo 'aerospike.udf.lua_system_path=/usr/local/aerospike/lua' >> /etc/php/${LARADOCK_PHP_VERSION}/cli/conf.d/aerospike.ini \
|
||||||
|
|
Loading…
Reference in New Issue