Bug #61419 [Com]: Upload Progress returning empty array
| From: | luigifab at yahoo dot fr | Date: | Fri, 01 Jun 2012 10:12:57 +0000 |
| Subject: | Bug #61419 [Com]: Upload Progress returning empty array | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-170971@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=61419&edit=1
ID: 61419
Comment by: luigifab at yahoo dot fr
Reported by: jasmin_z at hotmail dot com
Summary: Upload Progress returning empty array
Status: Open
Type: Bug
Package: Session related
Operating System: Debian 6 Squeeze x64
PHP Version: 5.4.0
Block user comment: N
Private report: N
New Comment:
Up ?
Because there are no new informations in http://fr.php.net/manual/en/session.upload-progress.php
Previous Comments:
------------------------------------------------------------------------
[2012-05-18 21:10:35] luigifab at yahoo dot fr
Up ?
------------------------------------------------------------------------
[2012-05-10 09:15:43] luigifab at yahoo dot fr
Exactly the same problem with:
- Debian testing
- PHP 5.4.0-3 (testing)
- Apache 2 (Server API Apache 2.0 Handler) OR Lighttpd 1.4.30 (Server API CGI/FastCGI)
But, it works with:
- Debian testing
- PHP 5.4.3-1 (unstable)
- Apache 2 (Server API Apache 2.0 Handler)
And, does not work with:
- Debian testing
- PHP 5.4.3-1 (unstable)
- Lighttpd 1.4.30 (Server API CGI/FastCGI)
Tested with a file of 16 MB with default configuration (expected upload size).
- http://www.luigifab.info:8080/public/example/
(Apache and PHP 5.4.3-1)
- http://www.luigifab.info/public/example/
(Lighttpd and PHP 5.4.3-1)
http://packages.qa.debian.org/p/php5.html
Is upload progress work in CGI mode ?
Is upload progress work width PHP 5.4.0.0.0 or with PHP 5.4.0.0.1 ?
------------------------------------------------------------------------
[2012-03-19 14:03:46] jasmin_z at hotmail dot com
Hi and thanks for the feedback.
Uploading huge files was the first thing I tried (upload size limit set to 600MB and uploading a
500MB file from another network). Data returned _while_ uploading is an empty array.
If you need more info (PHP, nginx configuration files, ...) please let me know.
------------------------------------------------------------------------
[2012-03-19 05:44:43] laruence@php.net
Plz use a huge size file to test, since you set the
session.upload_progress.cleanup on, which means, the upload info will be clean
as soon as all the post data was parsed. see:
http://cn.php.net/manual/en/session.configuration.php#ini.session.upload-
progress.cleanup
------------------------------------------------------------------------
[2012-03-16 18:47:30] jasmin_z at hotmail dot com
Description:
------------
Session upload tracking is returning empty array when queued.
PHP is build from source using following configure string:
./configure --prefix=/usr/local --sysconfdir=/etc/php --localstatedir=/var --libdir=/usr/lib64
--with-layout=GNU --with-config-file-path=/etc/php --with-config-file-scan-dir=/etc/php/conf.d
--with-openssl --with-mcrypt --with-zlib --with-tidy --with-bz2 --with-curl --with-curlwrappers
--with-mhash --with-pear --with-imap=/usr/lib64/ --with-imap-ssl --with-kerberos --with-gettext
--with-pic --with-mysql=mysqlnd --with-mysqli=mysqlnd --with-pdo-mysql=mysqlnd
--with-mysql-sock=/var/run/mysql/mysql.sock --with-gd --with-xsl --with-xmlrpc --with-mm
--with-freetype-dir=/usr/lib --with-jpeg-dir=/usr/lib --with-png-dir=/usr/lib
--with-fpm-user=www-data --with-fpm-group=www-data --enable-gd-native-ttf --enable-pcntl
--enable-calendar --enable-ftp --enable-exif --enable-intl --enable-mbstring --enable-sockets
--enable-zip --enable-soap --enable-fpm --disable-debug --disable-rpath
Webserver used is nginx (1.0.14) built from source.
Test script:
---------------
http://www.neowin.net/forum/topic/1063478-php-540-upload-tracking-returning-empty-array/
Expected result:
----------------
Array containing information about files being uploaded.
Actual result:
--------------
array(0) {
}
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=61419&edit=1