FTP Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationFTP Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old July 30th, 2003, 03:36 PM
grfxguru's Avatar
grfxguru grfxguru is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2003
Location: Houston, TX
Posts: 33 grfxguru User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 29 m
Reputation Power: 6
Question php ftp upload

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 !!!

Reply With Quote
  #2  
Old July 30th, 2003, 09:21 PM
colpaarm's Avatar
colpaarm colpaarm is offline
300lb Bench!
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Aug 2001
Location: New York
Posts: 2,191 colpaarm User rank is Corporal (100 - 500 Reputation Level)colpaarm User rank is Corporal (100 - 500 Reputation Level)colpaarm User rank is Corporal (100 - 500 Reputation Level)colpaarm User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 4 Days 5 h 8 m 19 sec
Reputation Power: 12
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.

Reply With Quote
  #3  
Old July 31st, 2003, 07:53 AM
grfxguru's Avatar
grfxguru grfxguru is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2003
Location: Houston, TX
Posts: 33 grfxguru User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 29 m
Reputation Power: 6
Searched httpd.conf for LimitRequestBody in pico and it was not found ???

I'm stuck?

Reply With Quote
  #4  
Old July 31st, 2003, 08:59 PM
colpaarm's Avatar
colpaarm colpaarm is offline
300lb Bench!
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Aug 2001
Location: New York
Posts: 2,191 colpaarm User rank is Corporal (100 - 500 Reputation Level)colpaarm User rank is Corporal (100 - 500 Reputation Level)colpaarm User rank is Corporal (100 - 500 Reputation Level)colpaarm User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 4 Days 5 h 8 m 19 sec
Reputation Power: 12
Do your apache logs state anything when you try to upload anything over 8 megs?

Reply With Quote
  #5  
Old August 5th, 2003, 04:35 PM
grfxguru's Avatar
grfxguru grfxguru is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2003
Location: Houston, TX
Posts: 33 grfxguru User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 29 m
Reputation Power: 6
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.

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationFTP Help > php ftp upload


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway