update php_extension install guides

This commit is contained in:
dongyado 2018-05-17 12:11:13 +08:00
parent 3cf3f0cc36
commit 9527177a91
2 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
# ip2region 的PHP拓展(php5版本) # ip2region 的PHP拓展(php5版本)
### 安装步骤 ### 安装步骤
* git clone https://github.com/lionsoul2016/ip2region.git * git clone https://github.com/lionsoul2014/ip2region.git
* cd ip2region * cd ip2region
* cp binding/php_extension/php5/ip2region 到 php source code 的ext目录下 * cp binding/php_extension/php5/ip2region 到 php source code 的ext目录下
* cp binding/c/下面所有的文件到 php source code 的ext/ip2region/lib 目录下 * cp binding/c/下面所有的文件到 php source code 的ext/ip2region/lib 目录下

View File

@ -1,9 +1,9 @@
# ip2region 的PHP拓展(php7版本) # ip2region 的PHP拓展(php7版本)
### 安装步骤 ### 安装步骤
* git clone https://github.com/lionsoul2016/ip2region.git * git clone https://github.com/lionsoul2014/ip2region.git
* cd ip2region * cd ip2region
* cp binding/php_extension/php5/ip2region 到 php source code 的ext目录下 * cp binding/php_extension/php7/ip2region 到 php source code 的ext目录下
* cp binding/c/下面所有的文件到 php source code 的ext/ip2region/lib 目录下 * cp binding/c/下面所有的文件到 php source code 的ext/ip2region/lib 目录下
* 在ext/ip2region下运行 * 在ext/ip2region下运行