Jump to content

I want to increase server's maximum upload file size


Recommended Posts

Hi,

 

I am trying to make a downloadable product that has 81mb. I cannot upload it to the server because i receive the following message:

Your server's maximum upload file size is 64M.

I want to increase this limit, how do i proceed ?

 

Thank you!

 

I run on 1.5.2 version

  • Like 1
Link to comment
Share on other sites

Hi, connect with your hosting provider or try one of it:

1) php.ini

 

memory_limit = 256M

upload_max_filesize = 256M

post_max_size = 256M

 

2) .htaccess

 

php_value memory_limit 256M

php_value upload_max_filesize 256M

php_value post_max_size 256M

 

 

Regards

Edited by Alexander Simonchik (see edit history)
  • Like 2
  • Thanks 1
Link to comment
Share on other sites

  • 7 months later...

I also still have this problem. My file size in the back end shows 25MB but I can still only upload 2MB and less. The techs at my hosts are running a suPHP on the server because I had to place the php.ini file in my main directory. If I placed the php.ini file in my PrestaShop directory, it didn't work.

 

The following is the message I received from the host. This is the only way to show the increased limits in the back end.

 

"I have moved the php.ini file to your public_html directory and set the suPHP_ConfigPath in order to apply the php.ini file recursively according to the KB article at http://kb.acenet.us/How_to_make_a_php.ini_file_apply_to_all_subdirectories . The upload settings now show increased limits."

 

 

Any ideas?

Link to comment
Share on other sites

  • 2 years later...
  • 7 months later...

It;s not diffiuclt.

 

If you CANNOT  edit php.ini  or htacces  I've this tips:   You must acces Direct Admin Account.  Make 3 browser tabs

 

1 First open your product (vritual product) in a browswer tab

2 Open you Direct admin in antoher tab of your browser

3 Open you preferences in PRestashop backoffice, by the upload size settings.

 

Al those Three tabs must open.  

 

Go to your first tab first Ad your uppload virtual product   Thisproduct.zip  (BUT NOT SAVE)

Go to Direct admin, and settings set on php module version:  NATIVE and SAVE

Go to third tab and change te prestahop backend upload size to 600 (megabytes) SAVE.

Go back to the first tab and Click SAVE and STAY...   Wait, and now upload is succesfull.

 

Go back to your php settings in direct admin, and set this to current 7.0 version,  SAVE your module set.

You can set back in orginal settings the prestashop backend upload settiings, but' its not nessescsy.

 

Works in 1.6 PRestashop.

-------------------------------

Go to http://www.hideurlscript.com  for  hide your files url path like mp4 video in source code! And in browser address.

Link to comment
Share on other sites

  • 1 year later...
  • 1 year later...
  • 4 months later...
  • 4 years later...
On 1/25/2013 at 7:37 AM, Alex Simonchik BelVG said:

Hi, connect with your hosting provider or try one of it:

1) php.ini

 

memory_limit = 256M

upload_max_filesize = 256M

post_max_size = 256M

 

2) .htaccess

 

php_value memory_limit 256M

php_value upload_max_filesize 256M

php_value post_max_size 256M

 

 

Regards

 

Greetings, I'm trying to add/upload some photos that I took of art pictures, and it still pops up a toast message with "Max file size allowed is "2097152" bytes." for each one. Even after adding that to the `.htaccess` file. The photos are 3-4 megabytes each. Although that was obviously not for version 8.2.2, since that was posted 12 years ago.

 

Thank you, Shalom.

Link to comment
Share on other sites

On 1/25/2013 at 7:31 AM, sabin said:

Hi,

 

I am trying to make a downloadable product that has 81mb. I cannot upload it to the server because i receive the following message:

Your server's maximum upload file size is 64M.

I want to increase this limit, how do i proceed ?

 

Thank you!

 

I run on 1.5.2 version

@sabin Update to version 8.2.2, then in the "back office" on the left side, click on "Advanced Parameters" under "CONFIGURE" and then click on "Administration".  Then change the settings under "Upload quota" to what you need. 

 

You're welcome, Shalom.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...