Jump to content

Posting large size file upto 40Mb on godaddy


Recommended Posts

Hi All,

I have a problem uploading Max size more or less 40MB from our admin side. My site is hosted on godaddy.com. I asked them to configure php.ini for the following.

max_execution_time 400

post_max_size = 40M

upload_max_filesize = 40M

 

But they said that make your php5.ini file and place on www folder. I did so but server error comes up as below. 

 

Server Error

500 - Internal server error.

There is a problem with the resource you are looking for, and it cannot be displayed.

 

Secondly I found another solution from internet that to make .htaccess file and place the following configuration and also place this file on www (root directory).

php_value upload_max_filesize 40M

php_value post_max_size 40M

php_value max_execution_time 400

php_value max_input_time 400

No after above changes I got the same error.

 

Pls. if you help in this regard. What step to do next.

I am looking for your positive response.

Regards

 

 

 

Link to comment
Share on other sites

For the php5.ini settings, max_execution_time 400 is not correct It should be -

 

max_execution_time = 400

 

At what point does the Server error occur? When you request any page or just when the upload form submits to your form processing code?

 

 

You can only put php settings in a .htaccess file when php is running as an Apache Module.

Link to comment
Share on other sites

Many thanks for your positive response. Actually, I have php5.ini file

 

max_execution_time = 0

post_max_size = 40M

upload_max_filesize = 40M

max_input_time = 0

memory_limit = 40M

 

I add this php5.ini www folder. and my website is running in /testing/admin folder where I am uploading my data.

 

We get error when uploading a file. after a long time hang, system give me error as follows

 

Server Error

500 - Internal server error.

There is a problem with the resource you are looking for, and it cannot be displayed.

 

 

Please reply since I am very worried. My client is very annoyed just for this.

 

Regards

Shakeel

 

 

 

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

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.   Restore formatting

  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...

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.