php 7.3使测试失败,文件上传大于2G

时间:2019-02-04 13:25:50

标签: php-7.3

我正在构建php7.3.x,而make test却由于以下原因而失败

FAILED TEST SUMMARY
---------------------------------------------------------------------
file upload greater than 2G [sapi/cli/tests/upload_2G.phpt]
=====================================================================

我使用了以下命令

    yum install systemd-devel
yum install libstdc++.so.6
yum install gcc-c++
yum install python-docutils
yum install libxml2-devel
yum install bzip2-devel
yum install curl-devel
yum install openldap-devel
yum remove libzip-devel
yum remove libzip
yum install gnutls-devel

wget https://github.com/skvadrik/re2c/releases/download/1.1.1/re2c-1.1.1.tar.gz
tar zxvf re2c-1.1.1.tar.gz
cd re2c-1.1.1
./configure --prefix=/opt/SP/re2c --enable-docs


prerequisuites
requires updated cmake and libzip to be downloaded and compiled

 wget https://github.com/Kitware/CMake/releases/download/v3.13.3/cmake-3.13.3.tar.gz
 tar zxvf cmake-3.13.3.tar.gz
 cd cmake-3.13.3
 ./bootstrap
 make
 make DESTDIR=/opt/SP/cmake install

 export PATH="$PATH:/opt/SP/cmake/usr/local/bin/"

 wget https://libzip.org/download/libzip-1.5.1.tar.xz
 tar xf libzip-1.5.1.tar.xz
 mkdir build
 cd build
 /opt/SP/cmake/usr/local/bin/cmake ..
 make
 make test
 make install

 add /usr/local/lib/ to /etc/ld.so.conf

run
ldconfig 


wget http://uk1.php.net/get/php-7.3.1.tar.xz/from/this/mirror
tar xf mirror
cd php-7.3.1/
./buildconf --force
./configure --enable-fpm --with-fpm-systemd --enable-zip --with-libzip --with-zlib --with-bz2 --with-curl --with-gd --with-openssl --with-ldap --with-libdir=lib64 --enable-mbstring --prefix=/opt/SP/php-7.3.1 --with-pcre-regex --quiet
make
make test

我正在使用centos 7.5.1804。我找不到问题所在以及解决方法。

该测试是否意味着失败。是虫子吗?

http://gcov.php.net/viewer.php?version=PHP_7_3&func=tests&file=sapi%2Fcli%2Ftests%2Fupload_2G.phpt

0 个答案:

没有答案