我可以将phpize7.1安装到Ubuntu 15.10吗?

时间:2019-02-14 05:33:34

标签: php ubuntu php-7.1 ubuntu-15.10 phpize

我有旧的Ubuntu 15.10,该版本不再受支持。我需要php7,但无法将其更新到Ubuntu 16/18。我从源代码安装了php7.1,但是我也需要phpize来编译扩展。是否可以从源代码安装phpize(就像我为php7.1所做的那样)?

./configure --prefix=/usr/local/php7 \
--with-readline \
--with-config-file-path=/etc/php7/apache2 \
--with-config-file-scan-dir=/etc/php7/apache2/conf.d \
--enable-mbstring \
--enable-zip \
--enable-bcmath \
--enable-pcntl \
--enable-ftp \
--enable-exif \
--enable-calendar \
--enable-sysvmsg \
--enable-sysvsem \
--enable-sysvshm \
--enable-wddx \
--enable-intl \
--with-curl \
--with-mcrypt \
--with-iconv \
--with-gmp \
--with-pspell \
--with-gd \
--with-jpeg-dir=/usr \
--with-png-dir=/usr \
--with-zlib-dir=/usr \
--with-xpm-dir=/usr \
--with-freetype-dir=/usr \
--with-t1lib=/usr \
--enable-gd-native-ttf \
--enable-gd-jis-conv \
--with-openssl \
--with-gettext=/usr \
--with-zlib=/usr \
--with-bz2 \
--with-recode=/usr \
--with-apxs2=/usr/bin/apxs \
--with-ldap \
--with-xdebug \
--with-pdo-pgsql

0 个答案:

没有答案