Jump to content

I cannot upload files over 2MB, (photos, files etc.) to my prestashop


Leolautzu

Recommended Posts

I cannot upload files over 2MB, (photos, files etc.) to my prestashop

my prestashop is 1.7.8.2, I use ionos as hosting.
I need to upload photos/files larger than 2Mb on product pages.
How can I do this?
I tried adding the following lines to the htaccess file( but they would send the site to error 500): 

memory_limit= 50M
upload_max_filesize= 10M
post_max_size= 10M
max_execution_time= 300
max_input_time= 600
memory_limit= 720M

I have problems finding the php.ini file and I am not sure if the change is to be made in this file. 
Can anyone help me?

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