#29403 [NEW]: Failure of File Upload
From: markrx178 at yahoo dot com dot hk
Operating system: Fedora 2
PHP version: 4.3.8
PHP Bug Type: HTTP related
Bug description: Failure of File Upload
Description:
------------
Dear Guru,
I had installed the 4.3.8-3 rpm for Fedora in an Apache 2.0.50
environment.
After installation of some community suites (like xoops, phpnuke, etc. ),
I found all of the upload functions failed strangely.
I go further to suspect some setting may be wrong about my php.conf.
However, after extensive searching, I found my settings (including
FileUploads on, tmp_dir = /www/tmp, etc.) should probably be correct. * I
have checked the tmp directory is owned and writeable by apache.
I therefore write a very simple file upload to check the correct
functioning of file upload.
http://ootlinux01.homelinux.net:8000/testupload.html
(It will POST to a .php file which simply display phpinfo())
and check whether the tmpfile would be created in the destinated
directory.
I cannot find the expected new tmpfile.
Would someone know what's has gone wrong or is it some unmatched version
among Apache and PHP ?
I would be grateful for your kind assistance.
Thank you for your help.
Best Regards,
Mark
Reproduce code:
---------------
http://ootlinux01.homelinux.net:8000/testupload.html
(It will POST to a .php file which simply display phpinfo())
However, the expected tmpfile in the tmp directory was not found.
Expected result:
----------------
I expected a tmpfile could be found.
Actual result:
--------------
Nothing found in the tmp directory (as I specified in php.conf).
--
Edit bug report at http://bugs.php.net/?id=29403&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=29403&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=29403&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=29403&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=29403&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=29403&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=29403&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=29403&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=29403&r=support
Expected behavior: http://bugs.php.net/fix.php?id=29403&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=29403&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=29403&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=29403&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=29403&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=29403&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=29403&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=29403&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=29403&r=float
Thread (4 messages)
- markrx178 at yahoo dot com dot hk