Re: able to upload 28 meg file, yet php.ini limits posts to 10 megs. What is up with that?
- From: MikeB <MPBrede@xxxxxxxxx>
- Date: Sat, 31 May 2008 09:04:16 -0700 (PDT)
On May 31, 10:45 am, Lawrence Krubner <lawre...@xxxxxxxxxxx> wrote:
NC wrote:
On May 31, 12:04 am, Lawrence Krubner <lawre...@xxxxxxxxxxx> wrote:
NC wrote:
And what, if anything, is LimitRequestBody directiveThis returns nothing:
in Apache set to?
root@ldc310:~# cd /etc/apache2/
root@ldc310:/etc/apache2# grep -R LimitRequestBody *
So I assume it is not set.
And if it's not set, it takes the default value, zero (meaning, no
limit).
And while we're checking for possibilities, are you editingI assume, but how could I be sure?
the same php.ini PHP is using?
Run phpinfo() FROM THE BROWSER, not from command line. Look for
"Configuration File (php.ini) Path" in the output. The command-line
interpreter, the server module, and the CGI/FastCGI executable can
each have a different php.ini...
Since it is PHP version 5, I assume this is the right path for
editing:
root@ldc310:/# nano /etc/php5/cli/php.ini
I don't think so; note the "cli" in the path. Looks like you're
editing the php.ini that's used by the command-line interpreter,
not the one used by the Apache module.
Thanks for catching that. Seems you were right.
If anyone has time and wants to do me a big favor, go here:
http://www.cyberbitten.com/my_private_page.php
login with:
user: test
password: test
then go here and try to upload a file that is bigger than 10 megs:
http://www.cyberbitten.com/my_private_page.php?formName=mp_photos.htm
I appreciate anyone who can give this a test.
-- lawrence krubner
I've started an upload of a 20MB .exe file(Nessus-3.2.1.exe).
As I said in another post, perhaps you want to do a few checks to save
your bandwidth. Check that the file type is correct. Check the size
*before* you start the upload.
I'll report back if the upload crashes.
.
- Follow-Ups:
- References:
- able to upload 28 meg file, yet php.ini limits posts to 10 megs. What is up with that?
- From: Lawrence Krubner
- Re: able to upload 28 meg file, yet php.ini limits posts to 10 megs. What is up with that?
- From: NC
- Re: able to upload 28 meg file, yet php.ini limits posts to 10 megs. What is up with that?
- From: Lawrence Krubner
- Re: able to upload 28 meg file, yet php.ini limits posts to 10 megs. What is up with that?
- From: NC
- Re: able to upload 28 meg file, yet php.ini limits posts to 10 megs. What is up with that?
- From: Lawrence Krubner
- able to upload 28 meg file, yet php.ini limits posts to 10 megs. What is up with that?
- Prev by Date: Re: Creating a simple hitcounter for PHP web pages. (saves to files)
- Next by Date: Re: able to upload 28 meg file, yet php.ini limits posts to 10 megs. What is up with that?
- Previous by thread: Re: able to upload 28 meg file, yet php.ini limits posts to 10 megs. What is up with that?
- Next by thread: Re: able to upload 28 meg file, yet php.ini limits posts to 10 megs. What is up with that?
- Index(es):
Relevant Pages
|