|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
Hello All ...
Got a little php ftp problem brewing ... Uploading files just fine up to 8Mb. Thereafter I get a DNS error. I've modified the following already per the many posts I've read over the past week: php.ini - - - - - - - - - - - - - - - - - - - - - - - - max_execution_time = 600 upload_max_filesize = 31460000 httpd.conf - - - - - - - - - - - - - - - - - - - - - php_value upload_max_filesize 31460000 php_value post_max_size 31460000 Using `set_time_limit(360);` on my php upload page at beginning of script (after session stuff). `upload_max_filesize` and `max_execution_time` now showing up correctly in phpinfo() [ after restarting apache a couple of times and a reboot ??? ]. Still getting errors with files over 8 Mb and long before the 10 minute timeout occurs ??? I've searched and ready so many different posts I'm going #*&^%$@ ! cross-eyed? Any help is greatly appreciated. Basic System Info - - - - - - - - - - - - - - - Apache/1.3.20 Sun Cobalt (Unix) PHP/4.1.2 I sure hope somebody out there can pull a MacGuyver and help me out. I'm at my wits end !!! |
|
#2
|
||||
|
||||
|
The only other parameter that I know of that I know of for that version of php is LimitRequestBody. I believe that directive is found in httpd.conf. Normally, it's set to 524288 (half a meg). That's all I can think of.
|
|
#3
|
||||
|
||||
|
Searched httpd.conf for LimitRequestBody in pico and it was not found ???
I'm stuck? |
|
#4
|
||||
|
||||
|
Do your apache logs state anything when you try to upload anything over 8 megs?
|
|
#5
|
||||
|
||||
|
This is what shows up in the access log (slightly modified for privacy):
www myIP - - [05/Aug/2003:16:29:34 -0500] "POST /path/check2.php HTTP/1.1" 200 2305 "http://path/check1.php?r$ www myIP - - [05/Aug/2003:16:29:34 -0500] "-----------------------------63697325206995" 302 - "-" "-" www myIP - - [05/Aug/2003:16:29:55 -0500] "POST /path/check2.php HTTP/1.1" 200 2305 "http://path/check1.php?r$ www myIP - - [05/Aug/2003:16:29:55 -0500] "-----------------------------63697325206995" 302 - "-" "-" www 127.0.0.1 - - [05/Aug/2003:16:30:01 -0500] "HEAD / HTTP" 200 0 "-" "-" Nothing at all in the error log - just search engine junk? I'm relatively new to linux so I don't fully understand the codes (ie.: 200 2305) so any help is really appreciated. |
![]() |
| Viewing: Dev Shed Forums > System Administration > FTP Help > php ftp upload |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|