PrestaShop / docker

🐳
https://hub.docker.com/r/prestashop/prestashop/
MIT License
261 stars 177 forks source link

update php.ini #282

Closed PrestaSafe closed 2 years ago

PrestaSafe commented 2 years ago

Avoid Error 500 PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 262144 bytes)

With all templates.

PrestaSafe commented 2 years ago

It's actually a brand new prestashop 1.7.8.0, with no more products than demo products. I've never add this issue before this version. I've juste install one of my template who has 4 modules. It's works perfectly with all other versions.

jf-viguier commented 2 years ago

memory_limit to 256M is not enaugh for a real world prestashop instance, why no considering that docker is mainly for dev and should be greater here ?

PierreRambaud commented 2 years ago

If the requirements needs to be updated, it has to be done in the documentation first. The current docker image is not designed for dev or production, it's designed for CI only, which is the reason why nothing in PHP is configurable. And if people want to change something related to apache or PHP you can do it by overriding the docker image

jf-viguier commented 2 years ago

Ok, thanks for the explanation.

PierreRambaud commented 2 years ago

I'm closing it as we will not merge it like that