Re: [PHP-DEV] Bug in 4.03pl1 multipart/form-data method (file uploads) From: Andi Gutmans (andi <email protected>)
Date: 11/13/00

Why are you using php3.ini? Aren't you using PHP 4? What version of Apache
are you using? The directives you used in httpd.conf are PHP 4 directives.

Andi

At 09:43 AM 11/13/00 -0500, James Treworgy wrote:
>Changed everything as below in PHP3.ini and removed my httpd.conf
>settings. No change. Apache reported
>
>[Mon Nov 13 10:45:30 2000] [error] [client 192.168.1.3] Invalid method in
>request -----------------------------7d021c62cc
>
>another file resulted in:
>
>[Mon Nov 13 10:47:18 2000] [error] [client 192.168.1.3] Invalid method in
>request -----------------------------7d01d6362cc
>
>Some files work. It's almost seems as if a certain byte sequence in the
>file is causing the problem - e..g with large files some die right away,
>some go for a while before it dies.
>
>-- Jamie
>
>At 09:25 AM 11/13/00, Andi Gutmans wrote:
>>Can you try and set them in the php.ini and see if it makes a difference?
>>Also you might want to try 99M instead of those numbers :)
>>It's going to be hard to debug this without you getting your hands on gdb ;)
>>
>>Andi
>>
>>At 09:14 AM 11/13/00 -0500, James Treworgy wrote:
>>>Already have all those. From my httpd.conf:
>>>
>>>#PHP3 Directives
>>>php_flag track_vars On
>>>php_flag asp_tags on
>>>php_flag file_uploads on
>>>php_value post_max_size 99999999
>>>php_value upload_max_filesize 99999999
>>>php_value upload_tmp_dir /hd2/var/php_upload
>>>
>>>-- Jamie
>>>
>>>At 09:02 AM 11/13/00, Andi Gutmans wrote:
>>>>Two possible things you can try:
>>>>a) Add the following line to your php.ini if it doesn't exist already:
>>>>file_uploads = On ; Whether to allow HTTP file uploads
>>>>b) Also add the following line (maybe enlarging the limit in your case):
>>>>post_max_size = 8M ; Maximum size of POST data that PHP
>>>>will accept.
>>>>
>>>>Let us know if this solves your problems and which one of these if it did.
>>>>
>>>>Hopefully we can nuke post_max_size for 4.0.4 because I don't see much
>>>>point in having both this and the upload_max_filesize directive. Even
>>>>if they aren't completely the same it's confusing to have two.
>>>>
>>>>Andi
>>
>>---
>>Andi Gutmans <andi <email protected>>
>>http://www.zend.com/

---
Andi Gutmans <andi <email protected>>
http://www.zend.com/

-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>