PHP 7.3.x 到 PHP 7.4.x 升级没有成功

时间:2021-01-08 07:19:14

标签: php upgrade

上一版本:7.3.9

新版本:7.4.13

我们确实从源代码编译 PHP,并从 http://php.net/get/php-7.4.13.tar.bz2/from/this/mirror 下载源代码。 编译配置如下

  ./configure \
  --prefix=/opt/php \
  --with-apxs2=/opt/apache/bin/apxs \
  --with-ldap=/opt/openldap \
  --enable-soap \
  --enable-sockets \
  --with-pgsql=/opt/php/pgsql \
  --with-pdo-pgsql=/opt/php/pgsql \
  --with-mysql \
  --with-pdo-mysql \
  --enable-gd \
  --with-jpeg \
  --with-freetype \
  --enable-gd-native-ttf \
  --enable-pcntl \
  --with-openssl \
  --with-openssl-dir=/opt/libressl \
  --with-curl \
  --enable-mbstring \
  --with-mcrypt \
  --with-config-file-path=/opt/php/etc \
  --with-config-file-scan-dir=/opt/php/etc/php.d \
  --with-zip \
  --with-xsl \
  --without-libzip \
  --with-pear=/opt/php/bin

现在这个安装似乎不正确。 在 7.4.13 之前,我看到 /opt/php/lib/php/ 中存在很多实用程序目录,例如 XML、Mail、PEAR,但在 7.4.13 之后我看不到这些。

是否需要传递任何其他参数才能在 lib 目录中安装这些参数。 我在 openssl 警告中看到的唯一差异:/usr/lib64/libssh2.so.1 需要的 libssl.so.10 可能与 libssl.so.48 冲突

有人可以在这方面提供帮助吗。

0 个答案:

没有答案