Merge pull request #1322 from jk2K/master
feat: add GMP extension to PHP-fpm
This commit is contained in:
		@@ -166,6 +166,18 @@ RUN if [ ${INSTALL_BCMATH} = true ]; then \
 | 
			
		||||
    docker-php-ext-install bcmath \
 | 
			
		||||
;fi
 | 
			
		||||
 | 
			
		||||
#####################################
 | 
			
		||||
# GMP (GNU Multiple Precision):
 | 
			
		||||
#####################################
 | 
			
		||||
 | 
			
		||||
ARG INSTALL_GMP=false
 | 
			
		||||
RUN if [ ${INSTALL_GMP} = true ]; then \
 | 
			
		||||
    # Install the GMP extension
 | 
			
		||||
	apt-get update -yqq && \
 | 
			
		||||
	apt-get install -y libgmp-dev && \ 
 | 
			
		||||
    docker-php-ext-install gmp \
 | 
			
		||||
;fi
 | 
			
		||||
 | 
			
		||||
#####################################
 | 
			
		||||
# PHP Memcached:
 | 
			
		||||
#####################################
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user