Jump to content

File Upload Problem


tdramble

Recommended Posts

I have inherited a Mac OS X webserver at my school, and don't have a lot of freedom to reinstall or upgrade or anything like that, but I do have the root password and can make config changes.

 

The php.ini was originally blank, so I assume php (version 4.1.2) used defaults.  I now have a php.ini that looks like this:

 

upload_max_filesize = 1024M

post_max_size = 1024M

max_execution_time 10800

max_input_time 10800

memory_limit 64M

 

The bottom two still don't even show up at all when look at phpinfo().

 

From the experimenting that I have done, I can successfully upload files 6 MB each (my script uploads two files at a time), but it seems that if I go larer than that, the page just spins ans spins ans spins.  I watch my network activity when I click submit, the activity goes strong until the time when the upload should finish, then dies off, but the page stays the same and spins.

 

The upload temp directory is set to null, but since files can still upload I figured that was fine.  I tried changing that to /private/tmp, same problem as before.  As files were uploading, I tried monitoring that folder,and nothing.  The tmp_name that php was showing never showed up in the directory, but the files did upload successfully.

 

Is move_uploaded_files taking forever?  There are no loops in my script.

 

Thanks in advance for all the help.

Link to comment
https://forums.phpfreaks.com/topic/121558-file-upload-problem/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.