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=45230&edit=1