Closed zomars closed 7 years ago
To be precise I'm trying to install the intl
extension so I can use the NumberFormatter
class. Sorry If this is not the place to ask this, but I've already tried reading all docker docs, but the way FDK runs docker it's a little bit confusing for a newcomer like myself.
Have you tried running PECL on the container shell after the project has been set up?
@tiojoca care to give an example?
In general you can just start the shell with root user and run pecl install
there:
docker-compose exec --user root wp /bin/bash
pecl install <package-name>
It seems for intl
it is better to use apt-get
instead however:
docker-compose exec --user root wp /bin/bash
sudo apt-get update
sudo apt-get install php5-intl
You might have to restart the WP container afterwards for the changes to take effect.
I've tried modifying the Dockerfile but no apparent changes are showing up.