Cannot upload large files

Discuss server installationa nd configuration issues here

Moderators: macek, egami, gesf

New php-forum User
New php-forum User
Posts: 1
Joined: Tue Jun 14, 2011 6:13 pm

Cannot upload large files

Postby rbutcher » Tue Jun 14, 2011 6:31 pm

I'm trying to upload .pdf files into my site for people to have access to. Some of the files are rather large (30+MB). The smaller files work fine but when I try a file that is over 30MB I get a "404 - File or directory not found" error.

In my php.ini file I have changed the upload max as to: upload_max_filesize = 20000M
I have also changed the max Post size: post_max_size = 20000M

Neither of these worked so I also added a .htaccess file:

php_value upload_max_filesize 3000M
php_value post_max_size 3000M
php_value max_execution_time 300000
php_value max_input_time 300000

I am running on IIS7, this is an in-house server I have full controll of. I have also modified the permissions for the temp folder and the folder the file is transfered to. Right now everyone has read-right-modify access so there should be no permission issues.

What else am I missing? There is nothing in my php code that states max file size and nothing is being written to the php-errors.log file.

Return to “Server installation and configuration”

Who is online

Users browsing this forum: No registered users and 1 guest