fballiano / docker-magento2

Cluster ready Magento2 + Varnish 7 + PHP 8.1 + Redis 6.2 + Elasticsearch 7.17 + SSL
355 stars 164 forks source link

PHP bcmath extension is missing #19

Closed rahulanand77 closed 6 years ago

rahulanand77 commented 6 years ago

Hi,

When I am running magento setup, I am getting an error missing extension PHP Extension bcmath.. I logged into fballiano/nginx-ssl-for-magento2 container, and installed php7.0-bcmath and reloaded nginx, but when I am running service php restart, I am getting error unknown service.

Can you give me any solution for the same?

Thanks

Rahul Anand

Ritin commented 6 years ago

error bcmath missing log into the Apache container

docker exec {continaername or ID} -it /bin/bash docker-php-ext-install -j(nproc) bcmath service apache2 restart

exit restart apache and Varnish containers

fballiano commented 6 years ago

Hello, I've updated the builds with php7.1 and bcmath, let me know if the issue is solved :-)

rahulanand77 commented 6 years ago

I am still getting the same error even with the new deployment. Magento version 2.2.2. Working fine with 2.2.4. Because magento version 2.2.2 does not support 7.1

rahulanand77 commented 6 years ago

Thanks @Ritin, that worked for me. I appreciate your help.