tdramble Posted August 27, 2008 Share Posted August 27, 2008 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 More sharing options...
l0ve2hat3 Posted August 28, 2008 Share Posted August 28, 2008 max_execution_time=300 and i think u need = signs max_execution_time =10800 max_input_time =10800 memory_limit =64M Link to comment https://forums.phpfreaks.com/topic/121558-file-upload-problem/#findComment-627443 Share on other sites More sharing options...
tdramble Posted August 28, 2008 Author Share Posted August 28, 2008 I put equals signs in, no change at all. Troy Dramble Link to comment https://forums.phpfreaks.com/topic/121558-file-upload-problem/#findComment-627738 Share on other sites More sharing options...
tdramble Posted August 28, 2008 Author Share Posted August 28, 2008 I just had a successful upload of an 80MB file through a cgi script, that file won't upload through my php script. Link to comment https://forums.phpfreaks.com/topic/121558-file-upload-problem/#findComment-627768 Share on other sites More sharing options...
BlueSkyIS Posted August 28, 2008 Share Posted August 28, 2008 did you restart apache after making changes to php.ini? Link to comment https://forums.phpfreaks.com/topic/121558-file-upload-problem/#findComment-627782 Share on other sites More sharing options...
tdramble Posted August 28, 2008 Author Share Posted August 28, 2008 Sure did. Link to comment https://forums.phpfreaks.com/topic/121558-file-upload-problem/#findComment-628290 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.