Skip to content

Commit 95ef38c

Browse files
committed
Updating the Readme with instruction of how to change the php version
1 parent 7e259bf commit 95ef38c

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

README.md

+16
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,22 @@ For be able to manipulate easily the files of wordpress you need to:
2828
- 1/6 --url=<**url**>: `localhost`
2929
- 2...6 - Your personal configuration
3030

31+
## Changing the PHP version
32+
33+
Super easy, stop everything.
34+
On the service `wp_server` on the section `args` leave uncommented the php version that you want a then
35+
36+
`docker-compose build`
37+
38+
An then...
39+
40+
`export UID && docker-compose up`
41+
42+
To verify the version run
43+
44+
`docker exec wp_server php --version`
45+
46+
3147
## DB useful commands
3248
### Log into
3349
`docker exec -ti wp_mariadb mysql -h localhost -u root -pPASSWORD`

0 commit comments

Comments
 (0)