Hướng dẫn docker-php-ext-install gmp
I'm trying to spin up a laravel instance via lando using php8. I also need to install the php GMP module... I'm very new to docker and lando. Now it seems as though the php instance that lando uses does not have GMP pre-setup I found a post somewhere where someone installed some php modules via the lando file and tried to modify my file based on that. This is my lando file at the moment:
When I try running it I get the following:
However looking up PHP8 GMP searches lead me to this site: https://websiteforstudents.com/how-to-migrate-to-php-8-0-on-ubuntu/ They mention the package I could just be doing this all completely wrong, I'm a little out of my depth for the time being and trying to learn as I go I needed gmp too but when I installed it using laradock fpm that I modified, I kept getting an error saying gmp.h couldn't be found. I added this to Dockerfile-70
This didn't work. So I added my own dockerfile to laradock fpm, it installs a lot of extensions and their required libraries. I don't know what my file added that was missing in the modified Dockerfile-70 but here is my custom dockerfile.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
|