File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -106,14 +106,15 @@ before_install:
106
106
local ext_name=$1
107
107
local ext_so=$2
108
108
local INI=$3
109
+ local ext_opt=$4
109
110
local ext_dir=$(php -r "echo ini_get('extension_dir');")
110
111
local ext_cache=~/php-ext/$(basename $ext_dir)/$ext_name
111
112
112
113
if [[ -e $ext_cache/$ext_so ]]; then
113
114
echo extension = $ext_cache/$ext_so >> $INI
114
115
else
115
116
mkdir -p $ext_cache
116
- echo yes | pecl install -f $ext_name &&
117
+ echo yes | pecl install -f $ext_name $etx_opt &&
117
118
cp $ext_dir/$ext_so $ext_cache
118
119
fi
119
120
}
@@ -147,11 +148,16 @@ before_install:
147
148
sudo apt-get update -q
148
149
sudo apt-get install libsodium-dev -y
149
150
151
+ # install lib-zookeeper
152
+ wget http://www-us.apache.org/dist/zookeeper/zookeeper-3.4.12/zookeeper-3.4.12.tar.gz | tar -zxf zookeeper-3.4.12.tar.gz
153
+
154
+
150
155
tfold ext.apcu tpecl apcu-5.1.6 apcu.so $INI
151
156
tfold ext.libsodium tpecl libsodium sodium.so $INI
152
157
tfold ext.mongodb tpecl mongodb-1.5.0 mongodb.so $INI
153
158
tfold ext.amqp tpecl amqp-1.9.3 amqp.so $INI
154
159
tfold ext.igbinary tpecl igbinary-2.0.6 igbinary.so $INI
160
+ tfold ext.zookeeper tpecl zookeeper-0.5.0 zookeeper.so $INI --with-libzookeeper-dir="zookeeper-3.4.12/src/c"
155
161
fi
156
162
157
163
- |
You can’t perform that action at this time.
0 commit comments