-
Notifications
You must be signed in to change notification settings - Fork 2
Change PHP Version
Diego Juliao edited this page Mar 10, 2018
·
1 revision
- stop everything with
docker-compose stop
- On the
docker-compose.yml
file, on servicewp_server
on the sectionargs
leave uncommented the php version that you wantargs: PHP_VERSION: 7.1 # PHP_VERSION: 7.0 # PHP_VERSION: 5.6
- Then build the new image with:
docker-compose build
- Run everything again:
export DB_PASS=YOUR_SUPER_SECURE_PASSWORD && export UID && docker-compose up
- To verify the version run
docker-compose exec wp_server php --version