Initial webp support in PHP
This commit is contained in:
		
							parent
							
								
									5e446efd24
								
							
						
					
					
						commit
						52ec15f971
					
				
					 3 changed files with 5 additions and 5 deletions
				
			
		| 
						 | 
					@ -24,7 +24,7 @@ python3 python3-pip python3-virtualenv \
 | 
				
			||||||
libcurl4-openssl-dev python-dev libproj-dev gdal-bin libmemcached-dev swig mutt \
 | 
					libcurl4-openssl-dev python-dev libproj-dev gdal-bin libmemcached-dev swig mutt \
 | 
				
			||||||
ffmpeg libyaml-dev libc-client2007e-dev libonig-dev libkrb5-dev dialog \
 | 
					ffmpeg libyaml-dev libc-client2007e-dev libonig-dev libkrb5-dev dialog \
 | 
				
			||||||
whiptail tmux rsync nmap libzip-dev libfreetype6-dev \
 | 
					whiptail tmux rsync nmap libzip-dev libfreetype6-dev \
 | 
				
			||||||
jpegoptim optipng pngquant gifsicle webp # User requirement (svgo not available)
 | 
					jpegoptim optipng pngquant gifsicle webp libvpx-dev # User requirement (svgo not available)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
WORKDIR /srv
 | 
					WORKDIR /srv
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -64,7 +64,8 @@ cd php-$VERSION
 | 
				
			||||||
	    --with-sodium \
 | 
						    --with-sodium \
 | 
				
			||||||
        --with-kerberos \
 | 
					        --with-kerberos \
 | 
				
			||||||
        --with-soapclient \
 | 
					        --with-soapclient \
 | 
				
			||||||
		--with-pear
 | 
							--with-pear \
 | 
				
			||||||
 | 
							--enable-intl
 | 
				
			||||||
make -j
 | 
					make -j
 | 
				
			||||||
make install
 | 
					make install
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -79,4 +80,3 @@ echo "no" | /opt/techs/php-$VERSION/bin/pecl install imagick
 | 
				
			||||||
 | 
					
 | 
				
			||||||
echo "zend_extension=opcache.so" > /opt/techs/php-$VERSION/etc/conf.d/extensions.ini
 | 
					echo "zend_extension=opcache.so" > /opt/techs/php-$VERSION/etc/conf.d/extensions.ini
 | 
				
			||||||
echo "extension=redis.so" >> /opt/techs/php-$VERSION/etc/conf.d/extensions.ini
 | 
					echo "extension=redis.so" >> /opt/techs/php-$VERSION/etc/conf.d/extensions.ini
 | 
				
			||||||
echo "extension=imagick.so" >> /opt/techs/php-$VERSION/etc/conf.d/extensions.ini
 | 
					 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -55,7 +55,8 @@ cd php-$VERSION
 | 
				
			||||||
	    --with-imap-ssl \
 | 
						    --with-imap-ssl \
 | 
				
			||||||
	    --with-sodium \
 | 
						    --with-sodium \
 | 
				
			||||||
        --with-kerberos \
 | 
					        --with-kerberos \
 | 
				
			||||||
		--with-pear
 | 
							--with-pear \
 | 
				
			||||||
 | 
							--enable-intl
 | 
				
			||||||
make -j
 | 
					make -j
 | 
				
			||||||
make install
 | 
					make install
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -68,7 +69,6 @@ cd -
 | 
				
			||||||
 | 
					
 | 
				
			||||||
echo "no" | /opt/techs/php-$VERSION/bin/pecl install redis
 | 
					echo "no" | /opt/techs/php-$VERSION/bin/pecl install redis
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					 | 
				
			||||||
echo "zend_extension=opcache.so" > /opt/techs/php-$VERSION/etc/conf.d/extensions.ini
 | 
					echo "zend_extension=opcache.so" > /opt/techs/php-$VERSION/etc/conf.d/extensions.ini
 | 
				
			||||||
echo "extension=redis.so" >> /opt/techs/php-$VERSION/etc/conf.d/extensions.ini
 | 
					echo "extension=redis.so" >> /opt/techs/php-$VERSION/etc/conf.d/extensions.ini
 | 
				
			||||||
# Not supported yet
 | 
					# Not supported yet
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue