File tree Expand file tree Collapse file tree 2 files changed +11
-15
lines changed Expand file tree Collapse file tree 2 files changed +11
-15
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 3
3
set -e
4
4
# Comments: MCrypt is deprecated and usage is generally discouraged. Provided here for legacy apps only.
5
5
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
11
17
12
18
../docker-install.sh
You can’t perform that action at this time.
0 commit comments