Fix PHP builds
This commit is contained in:
parent
9a4cf65c49
commit
9aef3650a9
2 changed files with 2 additions and 3 deletions
|
@ -21,8 +21,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 libvpx-dev libwebp-dev jq inotify-tools ripgrep \
|
jpegoptim optipng pngquant gifsicle webp libvpx-dev libwebp-dev jq inotify-tools ripgrep
|
||||||
libc-client-dev
|
|
||||||
|
|
||||||
WORKDIR /srv
|
WORKDIR /srv
|
||||||
|
|
||||||
|
|
|
@ -12,7 +12,7 @@ wget https://www.php.net/distributions/php-$VERSION.tar.bz2
|
||||||
tar xf php-$VERSION.tar.bz2
|
tar xf php-$VERSION.tar.bz2
|
||||||
rm php-$VERSION.tar.bz2
|
rm php-$VERSION.tar.bz2
|
||||||
|
|
||||||
# test -e /usr/lib/x86_64-linux-gnu/libc-client.a || ln -s /usr/lib/libc-client.a /usr/lib/x86_64-linux-gnu/libc-client.a
|
test -e /usr/lib/x86_64-linux-gnu/libc-client.a || ln -s /usr/lib/libc-client.a /usr/lib/x86_64-linux-gnu/libc-client.a
|
||||||
|
|
||||||
cd php-$VERSION
|
cd php-$VERSION
|
||||||
./configure --enable-fpm --with-mysqli --prefix=/opt/techs/php-$VERSION \
|
./configure --enable-fpm --with-mysqli --prefix=/opt/techs/php-$VERSION \
|
||||||
|
|
Loading…
Reference in a new issue