Skip to content

Commit 6bf5dcf

Browse files
author
yjc
committed
更新README
1 parent fd76b75 commit 6bf5dcf

File tree

4 files changed

+6
-5
lines changed

4 files changed

+6
-5
lines changed

php56-fpm-centos68-withext/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ make install
175175

176176
>注:php5.6只能使用2.5及以下版本xdebug。
177177
178-
一般可以在pecl.php.net找到源码。例如:http://pecl.php.net/package/xdebug编译方法差不多:
178+
一般可以在pecl.php.net找到源码。例如:http://pecl.php.net/package/xdebug编译方法差不多:
179179
``` bash
180180
wget http://pecl.php.net/get/xdebug-2.5.5.tgz \
181181
&& tar xzf xdebug-2.5.5.tgz && cd xdebug-2.5.5/ \

php56-fpm-centos68/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ make install
155155

156156
>注:php5.6只能使用2.5及以下版本xdebug。
157157
158-
一般可以在pecl.php.net找到源码。例如:http://pecl.php.net/package/xdebug编译方法差不多:
158+
一般可以在pecl.php.net找到源码。例如:http://pecl.php.net/package/xdebug编译方法差不多:
159159
``` bash
160160
wget http://pecl.php.net/get/xdebug-2.5.5.tgz \
161161
&& tar xzf xdebug-2.5.5.tgz && cd xdebug-2.5.5/ \

php71-fpm-centos68-phalcon-withext/README.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,8 @@ docker load --input yphp.tar
157157

158158
导出的镜像可以压缩以节约空间。
159159

160-
6、增加PHP扩展
160+
6、增加PHP扩展
161+
161162
有下面几种方法,只要编译出了.so文件就简单了。以演示xdebug为例:
162163

163164
1) 如果已经编译好了.so文件,直接复制到挂载目录(例如`/work`)。使用`docker exec -it 容器ID /bin/bash`进入容器,通过`php-config`可以看到扩展所在目录,复制到该目录,修改php.ini,追加`zend_extension=xdebug.so`,重启php-fpm即可。
@@ -176,7 +177,7 @@ make
176177
make install
177178
```
178179

179-
一般可以在pecl.php.net找到源码。例如:http://pecl.php.net/package/xdebug编译方法差不多:
180+
一般可以在pecl.php.net找到源码。例如:http://pecl.php.net/package/xdebug编译方法差不多:
180181
``` bash
181182
wget http://pecl.php.net/get/xdebug-2.5.5.tgz \
182183
&& tar xzf xdebug-2.5.5.tgz && cd xdebug-2.5.5/ \

php71-fpm-centos68/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ make
145145
make install
146146
```
147147

148-
一般可以在pecl.php.net找到源码。例如:http://pecl.php.net/package/xdebug编译方法差不多:
148+
一般可以在pecl.php.net找到源码。例如:http://pecl.php.net/package/xdebug编译方法差不多:
149149
``` bash
150150
wget http://pecl.php.net/get/xdebug-2.5.5.tgz \
151151
&& tar xzf xdebug-2.5.5.tgz && cd xdebug-2.5.5/ \

0 commit comments

Comments
 (0)