-
Notifications
You must be signed in to change notification settings - Fork 1
/
boxfile.yml
66 lines (66 loc) · 1.65 KB
/
boxfile.yml
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
run.config:
engine: php
engine.config:
runtime: php-7.3
# document_root: tests/testbed
extensions:
- apcu
- ctype
- curl
- dom
- fileinfo
- gd
- iconv
- json
- mbstring
- pdo
- pdo_mysql
- pdo_pgsql
- pdo_sqlite
- simplexml
- tokenizer
- yaml
- xml
- xmlwriter
- zip
- zlib
- memcached
- session
- igbinary
- redis
zend_extensions:
- opcache
dev_zend_extensions:
add:
- xdebug
rm:
- opcache
extra_packages:
- autoconf
- mysql-client
- sqlite3
extra_steps:
#===========================================================================
# Msgpack extension compilation
- |
(
CURRENT_FOLDER=$(pwd)
rm -fR $CURRENT_FOLDER/tests/_output/msgpack-php
cd $CURRENT_FOLDER/tests/_output
git clone --depth=1 https://github.com/msgpack/msgpack-php
cd msgpack-php
set -e
phpize
./configure --with-php-config=$(which php-config)
make -j"$(getconf _NPROCESSORS_ONLN)"
make install
cd $CURRENT_FOLDER
rm -fR $CURRENT_FOLDER/tests/_output/msgpack-php
unset CURRENT_FOLDER
)
- echo -e 'extension=msgpack.so' >> "/data/etc/php/dev_php.ini"
#===========================================================================
# Options for session, opcache and apcu
- echo -e 'opcache.enable_cli=1' >> "/data/etc/php/dev_php.ini"
- echo -e 'apc.enabled=1' >> "/data/etc/php/dev_php.ini"
- echo -e 'apc.enable_cli=1' >> "/data/etc/php/dev_php.ini"