代码之家  ›  专栏  ›  技术社区  ›  shorif2000

php 7.3文件上传大于2g测试失败

  •  0
  • shorif2000  · 技术社区  · 7 年前

    我正在建造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 回复  |  直到 7 年前
    推荐文章