Hello, i'm trying to install Prestashop on a custom docker container, but every time i try, i get a 500 error during addon module
install, my docker image looks like this :
RUN docker-php-ext-install mysqli pdo_mysql
RUN apt-get update \
&& apt-get install -y libzip-dev \
&& apt-get install -y zlib1g-dev \
&& rm -rf /var/lib/apt/lists/* \
&& docker-php-ext-install zip \
&& docker-php-ext-install opcache
RUN apt-get update && apt-get install -y libpng-dev
RUN apt-get install -y \
libpng-dev libxpm-dev \
RUN docker-php-ext-configure gd \
RUN apt-get -y update \
&& apt-get install -y libicu-dev \
&& docker-php-ext-configure intl \
&& docker-php-ext-install intl
RUN docker-php-ext-install gd
RUN sed -i 's/www-data:x:33:33/www-data:x:1000:1000/' /etc/passwd
RUN a2enmod rewrite
COPY ./php-custom.ini /usr/local/etc/php/conf.d/docker-php-memlimit.ini
I can't change my php version for some reasons. I'm running docker on windows with wsl2 integration.
I've tried to change the permissions of install dir and index to 755, i've also tried the same installation on wamp, and get the
same error 500. (the screenshot bellow).
I don't think that's a database issue because the connection work (on docker or wamp) and the database is created and filled.
the access log of the errors are bellow :
I've tried with this archive https://github.com/PrestaShop/PrestaShop/releases/download/188.8.131.52/prestashop_184.108.40.206.zip .
(I also tried with the source code from github but i get a composer error that says that composer.json doesn't match json regex)
Thanks for reading me, and sorry for my bad english, i hope you understand !