-
Notifications
You must be signed in to change notification settings - Fork 0
/
README-php8-zts-buster-test.txt
389 lines (263 loc) · 10.5 KB
/
README-php8-zts-buster-test.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
# Extensions
apt-get update
apt-get -y autoremove --purge
# bz2
apt-get -y install --no-install-recommends libbz2-dev
docker-php-ext-install -j$(nproc) bz2
apt-get -y remove --purge libbz2-dev
php -i | egrep -i '(bz2|bzip)'
find / -iname '*bzip*' -or -iname '*bz2*'
/usr/local/lib/php/extensions/no-debug-zts-20200930/bz2.so
/usr/local/etc/php/conf.d/docker-php-ext-bz2.ini
# bcmath
docker-php-ext-install -j$(nproc) bcmath
php -i | egrep -i 'bcmath'
find / -iname '*bcmath*'
/usr/local/lib/php/extensions/no-debug-zts-20200930/bcmath.so
/usr/local/etc/php/conf.d/docker-php-ext-bcmath.ini
# calendar
docker-php-ext-install -j$(nproc) calendar
php -i | egrep -i 'calendar'
find / -iname '*calendar*'
/usr/local/lib/php/extensions/no-debug-zts-20200930/calendar.so
/usr/local/etc/php/conf.d/docker-php-ext-calendar.ini
# exif
docker-php-ext-install -j$(nproc) exif
php -i | egrep -i 'exif'
find / -iname '*exif*'
/usr/local/lib/php/extensions/no-debug-zts-20200930/exif.so
/usr/local/etc/php/conf.d/docker-php-ext-exif.ini
# gettext
docker-php-ext-install -j$(nproc) gettext
php -i | egrep -i 'gettext'
find / -iname '*gettext*'
/usr/local/lib/php/extensions/no-debug-zts-20200930/gettext.so
/usr/local/etc/php/conf.d/docker-php-ext-gettext.ini
# intl
apt-get -y install --no-install-recommends libicu-dev
docker-php-ext-install -j$(nproc) intl
apt-get -y remove --purge libicu-dev
php -i | egrep -i 'intl'
find / -iname '*intl*'
/usr/local/lib/php/extensions/no-debug-zts-20200930/intl.so
/usr/local/etc/php/conf.d/docker-php-ext-intl.ini
# ldap
apt-get -y install --no-install-recommends libldap2-dev
docker-php-ext-install -j$(nproc) ldap
apt-get -y remove --purge libldap2-dev
php -i | egrep -i 'ldap'
find / -iname '*ldap*'
/usr/local/lib/php/extensions/no-debug-zts-20200930/ldap.so
/usr/local/etc/php/conf.d/docker-php-ext-ldap.ini
# readline
apt-get -y install --no-install-recommends libedit-dev
docker-php-ext-install -j$(nproc) readline
apt-get -y remove --purge libedit-dev
php -i | egrep -i 'readline'
find / -iname '*readline*'
/usr/local/lib/php/extensions/no-debug-zts-20200930/readline.so
/usr/local/etc/php/conf.d/docker-php-ext-readline.ini
# mysqli
docker-php-ext-install -j$(nproc) mysqli
php -i | egrep -i 'mysqli'
find / -iname '*mysqli*'
/usr/local/lib/php/extensions/no-debug-zts-20200930/mysqli.so
/usr/local/etc/php/conf.d/docker-php-ext-mysqli.ini
/usr/local/include/php/ext/mysqli
/usr/local/include/php/ext/mysqli/mysqli_mysqlnd.h
/usr/local/include/php/ext/mysqli/php_mysqli_structs.h
# opcache
docker-php-ext-enable opcache
docker-php-ext-install -j$(nproc) opcache
php -i | egrep -i 'opcache'
find / -iname '*opcache*'
/usr/local/lib/php/extensions/no-debug-zts-20200930/opcache.so /usr/local/etc/php/conf.d/docker-php-ext-opcache.ini
# pcntl
docker-php-ext-install -j$(nproc) pcntl
php -i | egrep -i 'pcntl'
find / -iname '*pcntl*'
/usr/local/lib/php/extensions/no-debug-zts-20200930/pcntl.so
/usr/local/etc/php/conf.d/docker-php-ext-pcntl.ini
# pdo_mysql
docker-php-ext-install -j$(nproc) pdo_mysql
php -i | egrep -i 'pdo_mysql'
find / -iname '*pdo_mysql*'
/usr/local/lib/php/extensions/no-debug-zts-20200930/pdo_mysql.so
/usr/local/etc/php/conf.d/docker-php-ext-pdo_mysql.ini
# pdo_pgsql
apt-get -y install --no-install-recommends libpq-dev
docker-php-ext-install -j$(nproc) pdo_pgsql
apt-get -y remove --purge libpq-dev
php -i | egrep -i 'pdo_pgsql'
find / -iname '*pdo_pgsql*'
/usr/local/lib/php/extensions/no-debug-zts-20200930/pdo_pgsql.so
/usr/local/etc/php/conf.d/docker-php-ext-pdo_pgsql.ini
# shmop
docker-php-ext-install -j$(nproc) shmop
php -i | egrep -i 'shmop'
find / -iname '*shmop*'
/usr/local/lib/php/extensions/no-debug-zts-20200930/shmop.so
/usr/local/etc/php/conf.d/docker-php-ext-shmop.ini
# sockets
docker-php-ext-install -j$(nproc) sockets
php -i | egrep -i 'sockets'
find / -iname '*sockets*'
/usr/local/lib/php/extensions/no-debug-zts-20200930/sockets.so
/usr/local/etc/php/conf.d/docker-php-ext-sockets.ini
/usr/local/include/php/ext/sockets
/usr/local/include/php/ext/sockets/php_sockets.h
# sysvmsg
docker-php-ext-install -j$(nproc) sysvmsg
php -i | egrep -i 'sysvmsg'
find / -iname '*sysvmsg*'
/usr/local/lib/php/extensions/no-debug-zts-20200930/sysvmsg.so
/usr/local/etc/php/conf.d/docker-php-ext-sysvmsg.ini
# sysvsem
docker-php-ext-install -j$(nproc) sysvsem
php -i | egrep -i 'sysvsem'
find / -iname '*sysvsem*'
/usr/local/lib/php/extensions/no-debug-zts-20200930/sysvsem.so
/usr/local/etc/php/conf.d/docker-php-ext-sysvsem.ini
# sysvshm
docker-php-ext-install -j$(nproc) sysvshm
php -i | egrep -i 'sysvshm'
find / -iname '*sysvshm*'
/usr/local/lib/php/extensions/no-debug-zts-20200930/sysvshm.so
/usr/local/etc/php/conf.d/docker-php-ext-sysvshm.ini
# xsl
apt-get -y install --no-install-recommends libxslt1-dev
docker-php-ext-install -j$(nproc) xsl
apt-get -y remove --purge libxslt1-dev
php -i | egrep -i 'xsl'
find / -iname '*xsl*'
/usr/local/lib/php/extensions/no-debug-zts-20200930/xsl.so
/usr/local/etc/php/conf.d/docker-php-ext-xsl.ini
# zip
apt-get -y install --no-install-recommends libzip-dev
docker-php-ext-install -j$(nproc) zip
apt-get -y remove --purge libzip-dev
php -i | egrep -i 'zip'
find / -iname '*zip*'
/usr/local/lib/php/extensions/no-debug-zts-20200930/zip.so
/usr/local/etc/php/conf.d/docker-php-ext-zip.ini
# imap
apt-get -y install --no-install-recommends libc-client-dev libkrb5-dev
docker-php-ext-configure imap --with-imap --with-imap-ssl --with-kerberos
docker-php-ext-install -j$(nproc) imap
apt-get -y remove --purge libc-client-dev libkrb5-dev
php -i | egrep -i 'imap'
find / -iname '*imap*'
/usr/local/lib/php/extensions/no-debug-zts-20200930/imap.so
/usr/local/etc/php/conf.d/docker-php-ext-imap.ini
# gd
apt-get -y install --no-install-recommends libfreetype6-dev libjpeg62-turbo-dev libwebp-dev libxpm-dev
docker-php-ext-configure gd --with-freetype --with-jpeg --with-xpm --with-webp
docker-php-ext-install -j$(nproc) gd
apt-get -y remove --purge libfreetype6-dev libjpeg62-turbo-dev libpng-dev libwebp-dev libxpm-dev
php -i | egrep -i 'gd'
find / -iname '*gd*'
/usr/local/lib/php/extensions/no-debug-zts-20200930/gd.so
/usr/local/etc/php/conf.d/docker-php-ext-gd.ini
/usr/local/include/php/ext/gd/php_gd.h
/usr/local/include/php/ext/gd/gd_arginfo.h
/usr/local/include/php/ext/gd/gd_compat.h
/usr/local/include/php/ext/gd/libgd
/usr/local/include/php/ext/gd/libgd/gd.h
/usr/local/include/php/ext/gd/libgd/gdfonts.h
/usr/local/include/php/ext/gd/libgd/gdcache.h
/usr/local/include/php/ext/gd/libgd/gdfontmb.h
/usr/local/include/php/ext/gd/libgd/gd_io.h
/usr/local/include/php/ext/gd/libgd/gdfontt.h
/usr/local/include/php/ext/gd/libgd/gd_tga.h
/usr/local/include/php/ext/gd/libgd/gdfontg.h
/usr/local/include/php/ext/gd/libgd/gdhelpers.h
/usr/local/include/php/ext/gd/libgd/gd_intern.h
/usr/local/include/php/ext/gd/libgd/gd_errors.h
/usr/local/include/php/ext/gd/libgd/gdfontl.h
php -r "var_dump(gd_info());"
php -r 'print_r(gd_info());'
docker-php-ext-configure gd
# imagick
apt-get -y install --no-install-recommends libmagickwand-dev
#echo -en 'autodetect\n' | pecl install imagick
#docker-php-ext-enable imagick
# install imagick
# use github version for now until release from https://pecl.php.net/get/imagick is ready for PHP 8
# https://github.com/Imagick/imagick/issues/331#issuecomment-779190777
# https://github.com/Imagick/imagick/issues/331#issuecomment-785284870
mkdir -p /usr/src/php/ext/imagick
curl -fsSL https://github.com/Imagick/imagick/archive/06116aa24b76edaf6b1693198f79e6c295eda8a9.tar.gz | tar xvz -C "/usr/src/php/ext/imagick" --strip 1
docker-php-ext-install -j$(nproc) imagick
rm -rf /usr/src/php/ext/imagick
apt-get -y remove --purge libmagickwand-dev
apt-get -y install --no-install-recommends libmagickwand-6.q16-6
php -i | egrep -i 'imagick'
find / -iname '*imagick*'
/usr/local/lib/php/extensions/no-debug-zts-20200930/imagick.so
/usr/local/etc/php/conf.d/docker-php-ext-imagick.ini
/usr/local/include/php/ext/imagick/php_imagick_shared.h
php -r "var_dump(imagick::getVersion());"
php -r 'print_r(imagick::getVersion());'
php -r 'print_r(Imagick::queryFormats());'
# apcu
echo 'no' | pecl install apcu
docker-php-ext-enable apcu
php -i | egrep -i 'apcu'
find / -iname '*apcu*'
/usr/local/lib/php/extensions/no-debug-zts-20200930/apcu.so
/usr/local/etc/php/conf.d/docker-php-ext-apcu.ini
/usr/local/lib/php/test/apcu/tests/apcu_sma_info.phpt
/usr/local/lib/php/.registry/.channel.pecl.php.net/apcu.reg
# igbinary
pecl install igbinary
docker-php-ext-enable igbinary
php -i | egrep -i 'igbinary'
find / -iname '*igbinary*'
# msgpack
pecl install msgpack
docker-php-ext-enable msgpack
php -i | egrep -i 'msgpack'
find / -iname '*msgpack*'
# memcached
apt-get -y install --no-install-recommends libmemcached-dev zlib1g-dev
pecl install igbinary
docker-php-ext-enable igbinary
#pecl install msgpack
#docker-php-ext-enable igbinary msgpack
echo 'no\nno\nno\nyes\nyes\nyes\nno\nyes\nyes' | pecl install memcached
docker-php-ext-enable memcached
apt-get -y remove --purge libmemcached-dev zlib1g-dev
php -i | egrep -i 'memcached'
find / -iname '*memcached*'
/usr/local/lib/php/test/memcached
/usr/local/lib/php/extensions/no-debug-zts-20200930/memcached.so
/usr/local/lib/php/doc/memcached/memcached-api.php
/usr/local/lib/php/doc/memcached/memcached.ini
/usr/local/lib/php/.registry/.channel.pecl.php.net/memcached.reg
/usr/local/etc/php/conf.d/docker-php-ext-memcached.ini
# redis
apt-get -y install --no-install-recommends libzstd-dev
pecl install igbinary
docker-php-ext-enable igbinary
echo 'yes\nyes\nyes' | pecl install redis
docker-php-ext-enable redis
apt-get -y remove --purge libzstd-dev
php -i | egrep -i 'redis'
find / -iname '*redis*'
/usr/local/lib/php/extensions/no-debug-zts-20200930/redis.so
/usr/local/etc/php/conf.d/docker-php-ext-redis.ini
/usr/local/lib/php/test/redis/tests/RedisSentinelTest.php
/usr/local/lib/php/test/redis/tests/RedisTest.php
/usr/local/lib/php/test/redis/tests/RedisArrayTest.php
/usr/local/lib/php/test/redis/tests/RedisClusterTest.php
/usr/local/lib/php/test/redis/tests/TestRedis.php
/usr/local/lib/php/.registry/.channel.pecl.php.net/redis.reg
# xdebug
pecl install xdebug
docker-php-ext-enable xdebug
php -i | egrep -i 'xdebug'
find / -iname '*xdebug*'
/usr/local/lib/php/extensions/no-debug-zts-20200930/xdebug.so
/usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini
/usr/local/lib/php/doc/xdebug/xdebug.ini
/usr/local/lib/php/.registry/.channel.pecl.php.net/xdebug.reg