#45230 [NEW]: upload_max_filesize ignored

2008-06-10 Thread rcable at sciotowireless dot net
From: rcable at sciotowireless dot net
Operating system: Linux
PHP version:  5.2.6
PHP Bug Type: *General Issues
Bug description:  upload_max_filesize ignored

Description:

I'm trying to do a file upload in php with a webform.
I've set my max filesize to 8192000.
I've modified php.ini
max_execution_time = 60
max_input_time = 120
memory_limit = 128M
post_max_size = 12M
upload_max_filesize = 8M

I cannot send a file larger than 2M up to the server.
And when I run phpinfo() it always shows 2M as the upload_max_filesize.

I've also tried ini_set(upload_max_filesize,8192000) to no avail.
The files I'm trying to upload are about 3M so I have quite a bit of
headroom with that 8192000 value.

Reproduce code:
---
There is no need for source code that I can see as it's a phpinfo() that
is showing me where the problem is and no matter what I set
upload_max_filesize to, it will not work.

None of the solutions on old bug reports have helped, and since this is
the latest edition I guess I'm the first one to report that this isn't
fixed with the new release.


-- 
Edit bug report at http://bugs.php.net/?id=45230edit=1
-- 
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=45230r=trysnapshot52
Try a CVS snapshot (PHP 5.3): 
http://bugs.php.net/fix.php?id=45230r=trysnapshot53
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=45230r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=45230r=fixedcvs
Fixed in release: 
http://bugs.php.net/fix.php?id=45230r=alreadyfixed
Need backtrace:   http://bugs.php.net/fix.php?id=45230r=needtrace
Need Reproduce Script:http://bugs.php.net/fix.php?id=45230r=needscript
Try newer version:http://bugs.php.net/fix.php?id=45230r=oldversion
Not developer issue:  http://bugs.php.net/fix.php?id=45230r=support
Expected behavior:http://bugs.php.net/fix.php?id=45230r=notwrong
Not enough info:  
http://bugs.php.net/fix.php?id=45230r=notenoughinfo
Submitted twice:  
http://bugs.php.net/fix.php?id=45230r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=45230r=globals
PHP 4 support discontinued:   http://bugs.php.net/fix.php?id=45230r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=45230r=dst
IIS Stability:http://bugs.php.net/fix.php?id=45230r=isapi
Install GNU Sed:  http://bugs.php.net/fix.php?id=45230r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=45230r=float
No Zend Extensions:   http://bugs.php.net/fix.php?id=45230r=nozend
MySQL Configuration Error:http://bugs.php.net/fix.php?id=45230r=mysqlcfg



#45230 [Fbk-Csd]: upload_max_filesize ignored

2008-06-10 Thread rcable at sciotowireless dot net
 ID:   45230
 User updated by:  rcable at sciotowireless dot net
 Reported By:  rcable at sciotowireless dot net
-Status:   Feedback
+Status:   Closed
 Bug Type: *General Issues
 Operating System: Linux
 PHP Version:  5.2.6
 New Comment:

Thanks so much.  I overlooked that for some reason.  It had my php.ini
file in /usr/local/lib instead of /etc where I expected it to be.  When
I moved the php.ini file there while I was trying to fix it, php stopped
working completely so I assumed that wasn't the solution.  I copied a
fresh php.ini-dist over to that location and changed my settings and
it's working now.

Thanks a million,
R


Previous Comments:


[2008-06-10 23:31:45] [EMAIL PROTECTED]

Works fine for me. Check from the phpinfo() output that the php.ini
file you're editing is actually used by PHP..



[2008-06-10 17:39:09] rcable at sciotowireless dot net

Description:

I'm trying to do a file upload in php with a webform.
I've set my max filesize to 8192000.
I've modified php.ini
max_execution_time = 60
max_input_time = 120
memory_limit = 128M
post_max_size = 12M
upload_max_filesize = 8M

I cannot send a file larger than 2M up to the server.
And when I run phpinfo() it always shows 2M as the
upload_max_filesize.

I've also tried ini_set(upload_max_filesize,8192000) to no avail.
The files I'm trying to upload are about 3M so I have quite a bit of
headroom with that 8192000 value.

Reproduce code:
---
There is no need for source code that I can see as it's a phpinfo()
that is showing me where the problem is and no matter what I set
upload_max_filesize to, it will not work.

None of the solutions on old bug reports have helped, and since this is
the latest edition I guess I'm the first one to report that this isn't
fixed with the new release.






-- 
Edit this bug report at http://bugs.php.net/?id=45230edit=1



#45230 [Csd]: upload_max_filesize ignored

2008-06-10 Thread rcable at sciotowireless dot net
 ID:   45230
 User updated by:  rcable at sciotowireless dot net
 Reported By:  rcable at sciotowireless dot net
 Status:   Closed
 Bug Type: *General Issues
 Operating System: Linux
 PHP Version:  5.2.6
 New Comment:

I hadn't noticed that it said there was no configuration file loaded.


Previous Comments:


[2008-06-10 23:52:25] rcable at sciotowireless dot net

Thanks so much.  I overlooked that for some reason.  It had my php.ini
file in /usr/local/lib instead of /etc where I expected it to be.  When
I moved the php.ini file there while I was trying to fix it, php stopped
working completely so I assumed that wasn't the solution.  I copied a
fresh php.ini-dist over to that location and changed my settings and
it's working now.

Thanks a million,
R



[2008-06-10 23:31:45] [EMAIL PROTECTED]

Works fine for me. Check from the phpinfo() output that the php.ini
file you're editing is actually used by PHP..



[2008-06-10 17:39:09] rcable at sciotowireless dot net

Description:

I'm trying to do a file upload in php with a webform.
I've set my max filesize to 8192000.
I've modified php.ini
max_execution_time = 60
max_input_time = 120
memory_limit = 128M
post_max_size = 12M
upload_max_filesize = 8M

I cannot send a file larger than 2M up to the server.
And when I run phpinfo() it always shows 2M as the
upload_max_filesize.

I've also tried ini_set(upload_max_filesize,8192000) to no avail.
The files I'm trying to upload are about 3M so I have quite a bit of
headroom with that 8192000 value.

Reproduce code:
---
There is no need for source code that I can see as it's a phpinfo()
that is showing me where the problem is and no matter what I set
upload_max_filesize to, it will not work.

None of the solutions on old bug reports have helped, and since this is
the latest edition I guess I'm the first one to report that this isn't
fixed with the new release.






-- 
Edit this bug report at http://bugs.php.net/?id=45230edit=1