Commit Graph

470 Commits (9129367b1fb1ec81d891a287c09e80318e4807ee)

Author SHA1 Message Date
Michele Locati 4e3bfe4acc
Add support for ionCube Loader 2020-12-10 15:37:13 +01:00
Michele Locati a23eec221e
New supported extensions for PHP 8.0: odbc 2020-12-09 10:56:20 +01:00
Michele Locati 97655cee86
Fix installation of pdo_dblib on debian/PHP8.0 2020-12-09 09:41:56 +01:00
Michele Locati 45e336b383
Fix installation of memcache on PHP 7.x
Test: memcache
2020-12-07 20:31:44 +01:00
Michele Locati f343b1dcde
Install xdebug 3.0.1 instead of 3.0.0 by default
I really miss a stable version of pickle ;_;

Test: xdebug
2020-12-07 19:32:18 +01:00
Michele Locati 269f29456a
Fix installation of zookeeper in Alpine linux
Test: zookeeper
2020-12-07 19:19:02 +01:00
Christian Rodriguez Benthake 5b093ab46c
set min php version for mongodb to 1.9.0 2020-12-07 13:23:32 +01:00
Michele Locati 3e126e5e14
Let imagick understand SVG
Test: imagick
2020-12-03 18:37:42 +01:00
Michele Locati ed1957624c
Fix installation of gRPC on PHP 5.x, support gRPC on PHP 8 2020-12-03 17:04:54 +01:00
Michele Locati 4ee43e5429
Let users install a specific PHP module version
Test: amqp,apcu,gmagick,http,pecl_http,igbinary,memcache,mailparse,memcached,mongodb,mosquitto,msgpack,oauth,opencensus,parallel,pcov,pdo_sqlsrv,sqlsrv,propro,protobuf,pthreads,raphf,rdkafka,redis,solr,ssh2,uuid,xdebug,uopz,xhprof,yaml
2020-12-03 15:29:09 +01:00
Michele Locati deae635790
Avoid workaround for PECL issue with ssh2
https://bugs.php.net/bug.php?id=78560 has been resolved

Test: ssh2
2020-12-02 18:48:55 +01:00
Michele Locati 6a95436f32
Use redis version from pecl, even with PHP 8
Test: redis
2020-12-02 18:21:43 +01:00
Michele Locati 361e717e37
Merge pull request #187 from clevyr/mosquitto
Add support for Mosquitto
2020-11-28 14:53:15 +01:00
Gabe Cook 4745ca013e
Add support for Mosquitto 2020-11-25 14:54:39 -06:00
Michele Locati 8c39514518
Install Xdebug 3 on PHP 7.2+, fix installation of Xdebug on PHP 7.1
Test: xdebug
2020-11-25 19:18:48 +01:00
Michele Locati 6e520b57ed
Fix building ldap for 32-bit OSs
Test: ldap, redis
2020-11-10 16:54:39 +01:00
Michele Locati 38b97cafff
Update license year 2020-11-06 18:22:38 +01:00
Michele Locati 83b7fca129
Don't assume than nproc is available
Test: bcmath, gmp, cmark, decimal
2020-11-03 15:37:47 +01:00
Michele Locati 912d648edd
Don't use the "--defaults" pickle flag 2020-10-18 23:42:55 +02:00
Michele Locati 9d3ed12e13
Silently download pickle 2020-10-18 21:51:43 +02:00
Michele Locati 7ce5742d88
Always work with normalized PHP module names 2020-10-18 19:06:39 +02:00
Michele Locati 5e68f9119e
List preinstalled modules just once
Test: pdo, mbstring, SimpleXML
2020-10-18 18:41:13 +02:00
Michele Locati dbf6ac51e8
Simplify sortModulesToInstall
Test: igbinary, msgpack, apcu_bc, http
2020-10-18 18:17:37 +02:00
Michele Locati 80e3497c2f
Let's be sure that this script is executed in a correct Docker image
Test: xdebug
2020-09-21 15:45:54 +02:00
Michele Locati 3c272ff906
Support redis with PHP 8 2020-09-21 15:06:43 +02:00
Michele Locati 9e390295b3
Support xdebug with PHP 8 2020-09-21 14:50:13 +02:00
Fred Cox f15031994b fixes for enchant extension on alpine3.12
disable enchant on some version/distro combos
2020-09-18 22:05:08 +03:00
Fred Cox 7ce97ab6ed Support for using pickle as drop in for pecl on php 8 2020-09-18 21:04:38 +03:00
Michele Locati e39841af1b
Enable parallel compilation for many pecl extensions
Test: amqp, bcmath, bz2, calendar, exif, gd, gettext, grpc, imagick, intl, mysqli, opcache, pcntl, pdo_mysql, protobuf, redis, soap, sockets, tidy, xdebug, xsl, yaml, zip
2020-08-19 17:00:26 +02:00
Michele Locati 8fa54b93b9
Fix protobuf for PHP 5.x 2020-08-18 10:03:06 +02:00
Michele Locati 9930171800
Use mondodb 1.7.5 for PHP 5.6
Test: mongodb
2020-07-31 18:18:08 +02:00
Michele Locati 7ef81a96dc
Execute pecl channel-update pecl.php.net
Fixes this warning:
channel "pecl.php.net" has updated its protocols,
use "pecl channel-update pecl.php.net" to update
2020-07-31 18:16:35 +02:00
Michele Locati c9b1a5d48d
Ignore zookeeper compilation warnings 2020-07-27 17:35:20 +02:00
Michele Locati 476e710e91
Simplyfy installation of zookeeper 2020-07-27 17:06:03 +02:00
Michele Locati f3b4e640f8
Add support for zookeeper 2020-07-27 16:50:21 +02:00
Michele Locati bf7d0bd764
Simplify buildRequiredPackageLists and installBundledModule 2020-07-27 14:30:14 +02:00
Michele Locati 12844b49ab
Simplify installPECLModule 2020-07-27 12:19:04 +02:00
Michele Locati 1d163ae6ea
Merge pull request #149 from fedotov-as/feature/apcu_bc
Add support for apcu_bc
2020-06-15 17:41:46 +02:00
Michele Locati ee2e6917ec
Use PECL to install igbinary
Test: igbinary, igbinary+memcached, igbinary+redis, igbinary+memcached+redis
2020-06-15 17:17:15 +02:00
Aleksandr Fedotov d169c1fa49
Add support for apcu_bc
Test: apcu_bc
2020-05-24 19:40:39 +03:00
Aleksandr Fedotov 51df372d19
Add compatibility memcached with msgpack
Test: msgpack+memcached
2020-05-24 15:27:36 +03:00
Michele Locati 85a9effc11
Add support for XHProf 2020-04-30 09:02:29 +02:00
Michele Locati 0fef060c56
Use YAML version 2.0.4 for PHP 7.0
Test: yaml
2020-04-25 14:29:37 +02:00
Michele Locati 347a4d482c
Fix sqlsrv/pdo_sqlsrv because of recent changes
Test: pdo_sqlsrv, sqlsrv
2020-04-16 14:21:23 +02:00
Michele Locati 1deeb6d656
tdlib: support more PHP versions 2020-03-03 12:09:28 +01:00
Michele Locati 219f2b89ce
Add support for tdlib 2020-03-02 18:36:35 +01:00
Michele Locati 4665719b92
Define DISTRO and DISTRO_VERSION
So that we don't have to call getDistro and getDistroVersion many times
2020-02-28 11:09:15 +01:00
Michele Locati d15134f374
Lint 2020-02-27 23:52:04 +01:00
Michele Locati d4a9ef7b68
Use codeload URL for snuffleupagus 2020-02-27 23:52:04 +01:00
Michele Locati a1ea13ff04
Don't download snuffleupagus source code twice 2020-02-27 23:52:03 +01:00
Michele Locati 7ffbb142a4
Switch to src only for snuffleupagus
We can't assume that any other present or future package won't contain
a "src" directory we shouldn't "cd" into.

Also, we have to invoke "cd" just once, otherwise the next "cd -" will
enter the wrong directory.
2020-02-27 23:52:02 +01:00
Michele Locati 7306861194
Simplify configuration 2020-02-27 23:52:01 +01:00
Michele Locati 4b24eb6110
Remove unneeded packages 2020-02-27 23:49:30 +01:00
Konstantin A. Lepikhov ccd5dcbbb3 add debian support 2020-02-27 21:51:55 +01:00
Konstantin A. Lepikhov 6000437aac installModuleFromSource: another formatting fix 2020-02-27 21:08:14 +01:00
Konstantin A. Lepikhov f0b82f028b installModuleFromSource: fix formatting 2020-02-27 21:05:25 +01:00
Konstantin A. Lepikhov 796d556072 snuffleupagus: enable .rules
This module uses very strict defaults which block almost everything.
2020-02-27 20:59:35 +01:00
Konstantin A. Lepikhov 310d89ade2 added snuffleupagus ext support 2020-02-27 15:43:33 +01:00
Michele Locati 5a7e9a9fda
Use latest version of mongodb
Test: mongodb
2020-02-25 10:58:17 +01:00
Heverton Coneglian de Freitas 4659f9c3ba
Add support for ffi 2020-02-17 09:29:17 -03:00
Michele Locati 3454c8f7d7
Add support for oauth extension 2020-02-16 18:28:30 +01:00
Michele Locati 122141976c
Temporarily use old version of mongodb
See https://jira.mongodb.org/browse/CDRIVER-3541
2020-02-16 16:42:47 +01:00
Michele Locati 069a637113
Run apk update before determining the required Alpine packages
We should need the updated package list when building the dependency list
2020-02-16 16:42:09 +01:00
Yannoff 08727c5685
[ext-imap] Fix dependencies on Alpine 3.11 2020-02-16 16:42:09 +01:00
Michele Locati 7322b1da6a
Fix grpc on Alpine 3.11 2020-02-16 16:42:08 +01:00
Michele Locati cd6fbbd684
Don't upgrade Debian packages
This should speed up tests a lot

Test: zip
2020-02-15 20:45:15 +01:00
Michele Locati 61dc6b4d4b
Add support for decimal 2020-02-04 09:54:02 +01:00
Michele Locati c2e185457f
Support more extensions for PHP 5.5 2020-02-03 08:26:38 +01:00
Michele Locati 56d8a624f0
Support more extensions for PHP 5.5 2020-01-31 16:40:57 +01:00
Michele Locati ea96de853e
Start adding support for PHP 5.5 2020-01-31 11:09:13 +01:00
Michele Locati d45b59d6b8
Update APT packages
They'd be upgraded anyway when we restore them
2020-01-31 10:42:16 +01:00
Michele Locati 8b5078f47f
Restore previously installed APT packages 2020-01-23 14:50:55 +01:00
Michele Locati 7a0cd3f010
Fix libc-client-dev clashing with libssl1.0-dev on Debian 9 (stretch) 2020-01-22 13:45:22 +01:00
Michele Locati 6a5f6be406
Add support for gmagick 2020-01-07 11:38:04 +01:00
Michele Locati 8bd74ab1e1
Add support for http extension 2019-12-24 15:09:07 +01:00
Michele Locati c6e0577456
Add support for propro 2019-12-24 10:33:31 +01:00
Michele Locati e8cf38713b
Add support for raphf 2019-12-24 10:20:45 +01:00
Michele Locati ce5cfcddf4
CD quieter
Test: cmark, igbinary, interbase, odbc, opencensus, pdo_firebird
2019-12-24 09:19:56 +01:00
Michele Locati 01a3875052
Enable zstd support for redis
Test: redis
2019-12-24 09:01:20 +01:00
Michele Locati bdb50d019f
Add support for mailparse 2019-12-23 17:38:09 +01:00
Michele Locati b90cff082b
Be more strict about imagick dependencies
Test: imagick
2019-12-23 15:12:18 +01:00
Michele Locati 5314a59565
Fix SSL dependencies on Debian 9 (stretch)
Test: mongo, mongodb, amqp+zip
2019-12-23 12:45:53 +01:00
Michele Locati f3c663103a
Improve package install errors handling 2019-12-23 12:40:28 +01:00
Michele Locati 9c33fa11b5
Fix handling of buildRequiredPackageLists output 2019-12-23 11:53:13 +01:00
Minh-Quan TRAN 39c51f48b8
fix libssl for alpine
Test: mongo, mongodb, imap, mongo+imap, mongodb+imap

Signed-off-by: Minh-Quan TRAN <account@itscaro.me>
2019-12-23 11:24:57 +01:00
Michele Locati 7e3472cbde
Fix rdkafka on Jessie
Test: rdkafka
2019-12-23 11:15:29 +01:00
Michele Locati 973a713b32
Fix SSL/snappy dependencies on Debian
Test: mongo, mongodb, zip

Co-authored-by: Michele Locati <michele@locati.it>
Co-authored-by: Quan TRAN <itscaro@users.noreply.github.com>
2019-12-23 10:45:10 +01:00
Michele Locati 6bd710afa3
Fix ldap on Alpine
Test: ldap
2019-12-23 09:46:35 +01:00
Michele Locati 50ef92b35f
Fix Intl dependencies on Debian Jessie
Test: intl
2019-12-23 09:25:31 +01:00
Michele Locati fcab189dd2
Fix GD dependencies on Debian Jessie 2019-12-23 09:12:15 +01:00
Michele Locati 58f33d2e90
Abort if expandPackagesToBeInstalled fails
Test: gd
2019-12-23 09:01:24 +01:00
Michele Locati 0f552e12a4
Merge pull request #75 from itscaro/fix-printf
fix printf
2019-12-20 17:28:03 +01:00
Michele Locati 1ba29d90cf
Fix coding style 2019-12-20 16:52:00 +01:00
Minh-Quan TRAN a1547ab626
fix printf
Signed-off-by: Minh-Quan TRAN <account@itscaro.me>
2019-12-20 15:55:26 +01:00
Michele Locati 9b24025eab
Fix amqp for Debian 8 (Jessie)
Test: amqp
2019-12-20 15:33:30 +01:00
Michele Locati 32a0cc4262
Rename vars in getDistroVersion 2019-12-20 14:32:33 +01:00
Michele Locati dd8abe1592
Add getDistroVersion function
Test: bcmath
2019-12-20 14:15:56 +01:00
Michele Locati 1a107c87eb
Fix memcache for PHP 5.6
Test: memcache
2019-12-19 17:51:47 +01:00
Michele Locati f8313949ef
Simplify handling of libssl-dev on Debian
Test: -STOP-
2019-12-19 16:40:08 +01:00
Michele Locati 6ee28220f3
Improve message about packages to be installed 2019-12-19 16:06:42 +01:00
Michele Locati b509412481
Fix volatile/persistent libraries of ZIP extension 2019-12-19 16:06:25 +01:00
Quan TRAN b97c7db893
Update install-php-extensions 2019-12-19 15:59:59 +01:00
Quan TRAN 821cc51fc2
Update install-php-extensions 2019-12-19 15:59:59 +01:00
Michele Locati 40482177ab
Improve apt/apk error logging 2019-12-19 15:59:08 +01:00
Michele Locati bc057dc1e6
Fix mongodb cleanup
Test: mongodb, -STOP-
2019-12-19 15:01:12 +01:00
Michele Locati c1769fec86
Use libressl instead of openssl on Alpine
libressl is a dependency of rabbitmq-c, and openssl conflicts with libressl

Test: imap, mongo, mongodb, zip
2019-12-19 14:14:51 +01:00
Michele Locati f952bafb20
Inspect data in expandPackagesToBeInstalled to detect errors 2019-12-19 14:14:50 +01:00
Michele Locati 0fd99507a3
Always require PHPIZE_DEPS in Alpine 2019-12-19 14:14:50 +01:00
Michele Locati e005701463
Remove extra white spaces 2019-12-19 10:37:03 +01:00
Michele Locati c1807e9cfc
Generalize checking APT/APK package versions 2019-12-19 10:14:38 +01:00
Quan TRAN 0a514973a5
Update install-php-extensions 2019-12-18 19:17:26 +01:00
Minh-Quan TRAN b289f2d7e9
handle alpine for kafka 2019-12-18 16:11:57 +01:00
Minh-Quan TRAN 8201d060ab
add kafka extension 2019-12-18 15:15:25 +01:00
Michele Locati 2ca480b37e
Support opencensus for PHP 7.3 and 7.4 2019-12-17 11:14:04 +01:00
Michele Locati 3febbcae5d
Merge pull request #58 from mcfedr/add-exten
Add support for grpc and protobuf
2019-12-17 10:10:00 +01:00
Michele Locati 19b3c57e52
Add support for opencensus 2019-12-17 09:34:54 +01:00
Michele Locati 2b6379e666
Add required APK package for grpc on Alpine 2019-12-17 09:23:33 +01:00
Fred Cox 82ad715283
Add support for grpc and protobuf 2019-12-17 09:22:17 +01:00
Michele Locati 82bd7ea934
Add support for mongo/mongodb extensions 2019-12-12 12:41:49 +01:00
Michele Locati 3f1b4452f0
Less verbose apt, please 2019-12-12 12:24:08 +01:00
Michele Locati 5db4a3005e
Continue implementing Alpine support
Test: xsl, yaml, -STOP-
2019-12-11 17:34:32 +01:00
Michele Locati b3a13c1563
Continue implementing Alpine support
Test: cmark, tidy, uopz, uuid, wddx, xdebug, xmlrpc, xsl, yaml, zip, -STOP-
2019-12-11 17:11:55 +01:00
Michele Locati de6acd4667
Continue implementing Alpine support
Test: sybase_ct, sysvmsg, sysvsem, sysvshm, tidy, timezonedb, -STOP-
2019-12-11 15:58:47 +01:00
Michele Locati 483e3162f3
Continue implementing Alpine support
Test: snmp, soap, sockets, solr, sqlsrv, ssh2, -STOP-
2019-12-11 15:38:27 +01:00
Michele Locati 6af10df812
Continue implementing Alpine support
Test: pgsql, pspell, pthreads, recode, redis, shmop, -STOP-
2019-12-11 15:04:19 +01:00
Michele Locati a1d3793860
Continue implementing Alpine support
Test: pdo_dblib, pdo_firebird, pdo_mysql, pdo_odbc, pdo_pgsql, pdo_sqlsrv, -STOP-
2019-12-11 14:23:15 +01:00
Michele Locati 46ac6f9524
Continue implementing Alpine support
Test: odbc, opcache, parallel, pcntl, pcov, -STOP-
2019-12-11 13:57:45 +01:00
Michele Locati 5c41352402
Continue implementing Alpine support
Test: interbase, mcrypt, mssql, -STOP-
2019-12-11 13:18:24 +01:00
Michele Locati 3202a0f193
Continue implementing Alpine support
Test: intl, ldap, mcrypt, memcache, memcached, msgpack, mysql, mysqli
2019-12-11 12:29:48 +01:00
Michele Locati ef8f9f622f
Continue implementing Alpine support
Test: interbase
2019-12-11 11:40:13 +01:00
Michele Locati f164c691cd
Continue implementing Alpine support
Test: amqp, apcu, bcmath, bz2, calendar, cmark, dba, enchant, exif, gd, gettext, gmp, igbinary, imagick, imap
2019-12-10 18:31:20 +01:00
Michele Locati 16eeec2dec
Fix GD and ZIP configuration with PHP 7.4.0
Test: gd, zip
2019-12-06 17:35:32 +01:00
Michele Locati 57579c7232
Sort modules to be installed 2019-10-11 16:03:20 +02:00
Michele Locati 9d61154a52
Enable igbinary/msgpack support for memcached
If the igbinary/msgpack modules are installed, let's enable their support for memcached

Test: memcached
2019-10-11 15:30:57 +02:00
Michele Locati cb0354ebde
Add support for msgpack 2019-10-11 15:22:43 +02:00
Michele Locati 185a6e84c8
Enable igbinary support for redis
If the igbinary module is installed, let's enable its support for redis

Test: redis
2019-10-11 10:51:08 +02:00
Michele Locati 2dcf3fcb51
Add support for Parallel 2019-10-11 08:12:46 +02:00
Michele Locati a849660d77
PHP 7.4: don't show unsupported warning 2019-10-10 21:15:39 +02:00
Michele Locati a28880ab6d
Prepare xdebug for PHP 7.4
Test: xdebug
2019-10-10 17:38:15 +02:00
Michele Locati 46a3b565d7
Fix solr for PHP 5.6
Test: solr
2019-10-10 17:16:58 +02:00
Michele Locati 5360b61450
Fix redis for PHP 5.6
Test: redis
2019-10-10 17:00:42 +02:00
Michele Locati 72d52be362
Prepare pdo_sqlsrv/sqlsrv for PHP 7.4
Test: sqlsrv, pdo_sqlsrv
2019-10-10 16:48:47 +02:00
Michele Locati f6bb6603b2
Prepare pdo_dblib for PHP 7.4
Test: pdo_dblib
2019-10-10 16:26:00 +02:00
Michele Locati 6af3fa72d4
Prepare ODBC for PHP 7.4
Test: odbc
2019-10-10 16:19:17 +02:00
Michele Locati 93c33112ee
Get imap ready for PHP 7.4
See https://github.com/docker-library/php/issues/891#issuecomment-531023107
Credits to @tianon

Test: imap
2019-10-10 12:20:20 +02:00
Michele Locati 83ffd80127
Support apcu for PHP 5.6 2019-10-10 11:56:10 +02:00
Michele Locati 6b13d33927
Add support for mcrypt on PHP 7.3 2019-10-09 14:22:23 +02:00
Michele Locati 14e886a16f
Add support for SSH2 on PHP 7.3
See also https://bugs.php.net/bug.php?id=78560
2019-10-09 14:07:20 +02:00
Michele Locati e19c22c189
sqlsrv/pdo_sqlsrv: fix PHP < 7.1, add support for PHP 7.3 2019-10-07 18:27:02 +02:00
Michele Locati 4ace356692
Simplify if / for instructions 2019-10-07 17:54:18 +02:00
Michele Locati 25a58a500f
Add support to UOPZ
uopz disables exit() by default, so we can't assume that exit()
will actually quit a PHP script
2019-09-27 17:48:22 +02:00
Michele Locati 77b798d328
Add support to PCOV 2019-08-21 12:44:24 +02:00
James Cole 02425005f8
Update install-php-extensions
Small change so building LDAP will work on ARM as well.
2019-08-12 18:33:32 +02:00
Michele Locati e65d33fa14
Fix "Use of bundled libzip is deprecated and will be removed" 2019-07-31 15:15:52 +02:00
Pavel Mironchik 5c99931e7c Fix indentation. 2019-05-17 13:21:01 +06:00
Pavel Mironchik 2ac6d4aa78 The `--cleanup` option also uses an `apt autoremove` command. 2019-05-17 13:13:23 +06:00
Michele Locati 4ce468ba40
Add support for igbinary 2019-05-16 17:22:39 +02:00
Anatoly Pashin ec7bdb840d
Xdebug for php 7.3 released 2019-04-09 12:05:52 +10:00
Anatoly Pashin b85223624e
Update install-php-extensions 2018-12-12 18:38:54 +10:00
Anatoly Pashin 5435422818
Update install-php-extensions 2018-12-12 16:25:42 +10:00
Michele Locati 6b85bc3493 Assume that what's working for PHP 7.2 works for PHP 7.3 2018-12-11 16:32:15 +01:00
Minh-Quan TRAN bac032c42c add amqp
Signed-off-by: Minh-Quan TRAN <account@itscaro.me>
2018-10-16 23:15:13 +02:00
Anatoly Pashin 99e905f461 Update install-php-extensions 2018-10-09 11:10:34 +02:00
Michele Locati 83f74c6969
Rename --apt-remove option to --cleanup 2018-06-28 10:01:51 +02:00
Michele Locati c3d49327b8
Add --apt-remove option 2018-06-28 09:48:32 +02:00
Michele Locati 3dbe416e6c Add support for mcrypt in PHP 7.2 2018-04-12 12:43:33 +02:00
Michele Locati c403aa5e31
Avoid obsolete "-o" notation 2018-04-12 12:13:40 +02:00
Michele Locati 0357a59d47
Export-ignore some files 2018-04-12 12:04:18 +02:00
Michele Locati e0965d93e3
Actually remove temporary source libraries 2018-04-11 18:00:36 +02:00
Michele Locati d9d8e5fc34
Initial commit 2018-04-11 17:39:10 +02:00