File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load Diff This file was deleted.
Original file line number Diff line number Diff line change 33set -e
44# Comments: MCrypt is deprecated and usage is generally discouraged. Provided here for legacy apps only.
55
6- export USE_PECL=1
7- export PECL_EXTENSION=mcrypt-1.0.1
8- export PHP_EXT_NAME=mcrypt # name of the extension (to put in PHP_EXTENSIONS variable)
9- export DEV_DEPENDENCIES=" libmcrypt-dev"
10- export DEPENDENCIES=" libmcrypt4"
6+ if false ; then # legacy install
7+ export USE_PECL=1
8+ export PECL_EXTENSION=mcrypt-1.0.1
9+ export PHP_EXT_NAME=mcrypt # name of the extension (to put in PHP_EXTENSIONS variable)
10+ export DEV_DEPENDENCIES=" libmcrypt-dev"
11+ export DEPENDENCIES=" libmcrypt4"
12+ else # Regular install
13+ export EXTENSION=mcrypt
14+ export DEV_DEPENDENCIES=" libmcrypt-dev"
15+ export DEPENDENCIES=" libmcrypt4"
16+ fi
1117
1218../docker-install.sh
You can’t perform that action at this time.
0 commit comments