php 接收文件 错误代码3,php 7.3文件上传大于2g测试失败

我正在建造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

. 我找不到问题是什么以及如何解决它。

这次考试注定要失败吗?是虫子吗?

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值