Skip to content

Commit 0b30a3a

Browse files
author
Ric Harvey
committed
Documentation for #33 installing php modules.
1 parent 72ffbe2 commit 0b30a3a

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,22 @@ Please see the [Scripting and templating guide](https://github.com/ngineered/ngi
112112
### Lets Encrypt support
113113
This container includes support to easily manage lets encrypt certificates. Please see the [Lets Encrypt guide](https://github.com/ngineered/nginx-php-fpm/blob/master/docs/lets_encrypt.md) for more details.
114114

115+
### Install PHP Modules
116+
117+
First of all drop into the container:
118+
```
119+
docker exec -t -i nginx /bin/bash
120+
```
121+
Then configure and install your module:
122+
```
123+
/usr/local/bin/docker-php-ext-configure sockets
124+
/usr/local/bin/docker-php-ext-install sockets
125+
```
126+
Now restart php-fpm:
127+
```
128+
supervisorctl restart php-fpm
129+
```
130+
115131
## Special Git Features
116132
Specify the ```GIT_EMAIL``` and ```GIT_NAME``` variables for this to work. They are used to set up git correctly and allow the following commands to work.
117133

0 commit comments

Comments
 (0)