Jump to content
Thumper

Upload Via Php Errors Out

Recommended Posts

I have changed the upload_max_filesize for php to 75MB, and have tried uploading a 32MB file, but after a while of uploading it displays "This page cannot be displayed". I've also changed the max_execution_time to 300. Does anyone have any suggestions on what else I might need to change? I've succesfully uploaded a 6.5 MB file with no problem.

 

http://www.havocoffroad.com/phpinfo.php

Share this post


Link to post
Share on other sites

If you are trying to upload that large of a file I would suggest using FTP.

Share this post


Link to post
Share on other sites

It is the attachment mod for the forums that allows members to upload a video or image and it will then be displayed in the post. I also tried uploading it in CPanel, and it didn't work either. What is CPanel's limit? What max size would you suggest?

Share this post


Link to post
Share on other sites

Well the PHP default is 2MB. Maybe some other members have used it for larger files and can comment.

Share this post


Link to post
Share on other sites

I doubled the max_execution_time to 600 through .htaccess and it the uploads are going through now. I don't know if the two are related or not...but I'm happy it's working now.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...