Computing.Net > Forums > Web Development > PHP File Uploads with MiniApache

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

PHP File Uploads with MiniApache

Reply to Message Icon

Name: jam14online
Date: March 19, 2005 at 01:26:12 Pacific
OS: Windows XP Pro SP2
CPU/Ram: Athlon 2.2 GHz/256MB DDR
Comment:

Hi,

I am trying to get file uploads in PHP to work properly and I think I may be overlooking something obvious. I'm using MiniApache_PHP.

It will let me upload small files (I tried small text files and they work fine) but nothing much bigger. I'm not sure whether it's my configuration files or the actual test script.

Any ideas?

Thanks,


James



Sponsored Link
Ads by Google

Response Number 1
Name: anonproxy
Date: March 19, 2005 at 14:28:23 Pacific
Reply:

php.ini usually sets this to either 2MB or 5MB upload max. Bump up upload_max_filesize and post_max_size in the config file.

Apache also has a LimitRequestBody value in httpd.conf, but you should get a 4-hundred-something error if you reach that limit (it can be under a 1MB though).


0

Response Number 2
Name: jam14online
Date: March 19, 2005 at 22:57:56 Pacific
Reply:

OK I stupidly had all of the directives you mentioned set to incredibly low values in httpd.conf and php.ini.

Thanks a bunch, it works great now!


James

MiniApache - a simple, fast and free web server


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Web Development Forum Home


Sponsored links

Ads by Google


Results for: PHP File Uploads with MiniApache

PHP File Uploads www.computing.net/answers/webdevel/php-file-uploads/1146.html

PHP File Upload www.computing.net/answers/webdevel/php-file-upload/1259.html

file upload through ajax www.computing.net/answers/webdevel/file-upload-through-ajax/3110.html