Skip to content

Commit f8e5aa7

Browse files
committed
Add builds for PHP 5.6 to 7.4
Build only 7.4
1 parent f3fc9a0 commit f8e5aa7

File tree

753 files changed

+379711
-35
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

753 files changed

+379711
-35
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ on:
2020
env:
2121
CONTAINER_OS_LIST: ubuntu:bionic ubuntu:focal ubuntu:jammy debian:buster debian:bullseye
2222
RUNNER_OS_LIST: ubuntu-18.04 ubuntu-20.04 ubuntu-22.04
23-
PHP_LIST: 8.0 8.1 8.2 8.3
23+
#PHP_LIST: 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3
24+
PHP_LIST: 7.4 8.0 8.1 8.2 8.3
2425
SAPI_LIST: apache2 cgi cli embed fpm phpdbg
2526
BUILD_LIST: nts zts
2627

@@ -220,7 +221,7 @@ jobs:
220221

221222
- name: Install PHP
222223
run: |
223-
sed -i '/builds/d' scripts/install.sh
224+
sed -i '/download/d' scripts/install.sh
224225
bash scripts/install.sh ${{ matrix.php-version }} local ${{ matrix.build }}
225226
226227
- name: Test
@@ -267,7 +268,7 @@ jobs:
267268

268269
- name: Install PHP
269270
run: |
270-
sed -i '/builds\/$tar_file/d' scripts/install.sh
271+
sed -i '/download/d' scripts/install.sh
271272
bash scripts/install.sh ${{ matrix.php-version }} github ${{ matrix.build }}
272273
273274
- name: Test
@@ -313,4 +314,5 @@ jobs:
313314
env:
314315
GITHUB_MESSAGE: ${{ github.event.head_commit.message || github.event.inputs.build-mode }}
315316
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
317+
PHP_LIST: ${{ env.PHP_LIST }}
316318
PHP_SOURCE: ${{ github.event.inputs.php-source }}

config/definitions/5.6

Lines changed: 133 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,133 @@
1+
# Common extensions
2+
--enable-bcmath=shared
3+
--with-bz2=shared,/usr
4+
--enable-calendar=shared
5+
--enable-ctype=shared
6+
--with-curl=shared
7+
--with-enchant=shared
8+
--enable-exif=shared
9+
--enable-fileinfo=shared
10+
--enable-filter
11+
--with-ffi=shared
12+
--enable-ftp=shared
13+
--with-openssl-dir=/usr
14+
--with-gettext=shared,/usr
15+
--with-gmp=shared
16+
--enable-intl=shared
17+
--with-iconv=shared
18+
--with-libedit=shared
19+
--with-openssl=yes
20+
--enable-pdo=shared
21+
--with-pdo-dblib=shared,/usr
22+
--with-pdo-firebird=shared,/usr
23+
--enable-phar=shared
24+
--enable-posix=shared
25+
--with-pspell=shared,/usr
26+
--enable-session
27+
--enable-shmop=shared
28+
--enable-sockets=shared
29+
--enable-sysvmsg=shared
30+
--enable-sysvsem=shared
31+
--enable-sysvshm=shared
32+
--with-tidy=shared,/usr
33+
--enable-tokenizer=shared
34+
--with-xsl=shared
35+
--with-zip=shared
36+
37+
# dba
38+
--enable-dba=shared
39+
--with-db4=/usr
40+
--without-gdbm
41+
--with-qdbm=/usr
42+
--with-lmdb=/usr
43+
--enable-inifile
44+
--enable-flatfile
45+
46+
# gd
47+
--enable-gd=shared,/usr
48+
--with-external-gd
49+
50+
# mhash
51+
--with-mhash=/usr
52+
53+
#imap
54+
--with-imap=shared,/usr
55+
--with-kerberos
56+
--with-imap-ssl=yes
57+
58+
59+
# ldap
60+
--with-ldap=shared,/usr
61+
--with-ldap-sasl
62+
63+
# mbstring
64+
--enable-mbstring=shared
65+
--enable-mbregex
66+
67+
# mysql
68+
--enable-mysqlnd=shared
69+
--enable-mysqlnd-compression-support
70+
--with-zlib=/usr
71+
--with-zlib-dir=/usr
72+
--with-mysqli=shared,mysqlnd
73+
--with-mysql-sock=/var/run/mysqld/mysqld.sock
74+
--with-pdo-mysql=shared,mysqlnd
75+
--with-mysql-sock=/var/run/mysqld/mysqld.sock
76+
77+
# odbc
78+
--with-unixODBC=shared,/usr
79+
--with-pdo-odbc=shared,unixODBC,/usr
80+
81+
# pgsql
82+
--with-pgsql=shared,/usr
83+
--with-pdo-pgsql=shared,/usr
84+
85+
# soap
86+
--enable-soap=shared
87+
--enable-libxml
88+
89+
# sodium
90+
--with-sodium=shared
91+
--with-password-argon2=/usr
92+
93+
# sqlite
94+
--with-sqlite3=shared
95+
--with-pdo-sqlite=shared
96+
97+
# xml
98+
--enable-dom=shared
99+
--enable-simplexml=shared
100+
--enable-xml=shared
101+
--enable-xmlreader=shared
102+
--enable-xmlwriter=shared
103+
104+
# opcache
105+
--enable-opcache
106+
--enable-huge-code-pages
107+
108+
# Common config
109+
--build=BUILD_MACHINE_SYSTEM_TYPE
110+
--host=HOST_MACHINE_SYSTEM_TYPE
111+
--config-cache
112+
--cache-file=/tmp/config.cache
113+
--with-libdir=lib/BUILD_MACHINE_SYSTEM_TYPE
114+
--libdir=/usr/lib/php
115+
--program-suffix=PHP_VERSION
116+
--sysconfdir=/etc
117+
--localstatedir=/var
118+
--disable-rpath
119+
--disable-static
120+
--with-pic
121+
--with-layout=GNU
122+
--without-pear
123+
--with-pcre-regex=/usr
124+
--with-system-tzdata
125+
126+
# Placeholder for thread-safe build.
127+
ZTS
128+
129+
# Placeholder for patch commands.
130+
PATCHES
131+
132+
# Placeholder for INSTALL command.
133+
INSTALL

config/definitions/7.0

Lines changed: 133 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,133 @@
1+
# Common extensions
2+
--enable-bcmath=shared
3+
--with-bz2=shared,/usr
4+
--enable-calendar=shared
5+
--enable-ctype=shared
6+
--with-curl=shared
7+
--with-enchant=shared
8+
--enable-exif=shared
9+
--enable-fileinfo=shared
10+
--enable-filter
11+
--with-ffi=shared
12+
--enable-ftp=shared
13+
--with-openssl-dir=/usr
14+
--with-gettext=shared,/usr
15+
--with-gmp=shared
16+
--enable-intl=shared
17+
--with-iconv=shared
18+
--with-libedit=shared
19+
--with-openssl=yes
20+
--enable-pdo=shared
21+
--with-pdo-dblib=shared,/usr
22+
--with-pdo-firebird=shared,/usr
23+
--enable-phar=shared
24+
--enable-posix=shared
25+
--with-pspell=shared,/usr
26+
--enable-session
27+
--enable-shmop=shared
28+
--enable-sockets=shared
29+
--enable-sysvmsg=shared
30+
--enable-sysvsem=shared
31+
--enable-sysvshm=shared
32+
--with-tidy=shared,/usr
33+
--enable-tokenizer=shared
34+
--with-xsl=shared
35+
--with-zip=shared
36+
37+
# dba
38+
--enable-dba=shared
39+
--with-db4=/usr
40+
--without-gdbm
41+
--with-qdbm=/usr
42+
--with-lmdb=/usr
43+
--enable-inifile
44+
--enable-flatfile
45+
46+
# gd
47+
--enable-gd=shared,/usr
48+
--with-external-gd
49+
50+
# mhash
51+
--with-mhash=/usr
52+
53+
#imap
54+
--with-imap=shared,/usr
55+
--with-kerberos
56+
--with-imap-ssl=yes
57+
58+
59+
# ldap
60+
--with-ldap=shared,/usr
61+
--with-ldap-sasl
62+
63+
# mbstring
64+
--enable-mbstring=shared
65+
--enable-mbregex
66+
67+
# mysql
68+
--enable-mysqlnd=shared
69+
--enable-mysqlnd-compression-support
70+
--with-zlib=/usr
71+
--with-zlib-dir=/usr
72+
--with-mysqli=shared,mysqlnd
73+
--with-mysql-sock=/var/run/mysqld/mysqld.sock
74+
--with-pdo-mysql=shared,mysqlnd
75+
--with-mysql-sock=/var/run/mysqld/mysqld.sock
76+
77+
# odbc
78+
--with-unixODBC=shared,/usr
79+
--with-pdo-odbc=shared,unixODBC,/usr
80+
81+
# pgsql
82+
--with-pgsql=shared,/usr
83+
--with-pdo-pgsql=shared,/usr
84+
85+
# soap
86+
--enable-soap=shared
87+
--enable-libxml
88+
89+
# sodium
90+
--with-sodium=shared
91+
--with-password-argon2=/usr
92+
93+
# sqlite
94+
--with-sqlite3=shared
95+
--with-pdo-sqlite=shared
96+
97+
# xml
98+
--enable-dom=shared
99+
--enable-simplexml=shared
100+
--enable-xml=shared
101+
--enable-xmlreader=shared
102+
--enable-xmlwriter=shared
103+
104+
# opcache
105+
--enable-opcache
106+
--enable-huge-code-pages
107+
108+
# Common config
109+
--build=BUILD_MACHINE_SYSTEM_TYPE
110+
--host=HOST_MACHINE_SYSTEM_TYPE
111+
--config-cache
112+
--cache-file=/tmp/config.cache
113+
--with-libdir=lib/BUILD_MACHINE_SYSTEM_TYPE
114+
--libdir=/usr/lib/php
115+
--program-suffix=PHP_VERSION
116+
--sysconfdir=/etc
117+
--localstatedir=/var
118+
--disable-rpath
119+
--disable-static
120+
--with-pic
121+
--with-layout=GNU
122+
--without-pear
123+
--with-pcre-regex=/usr
124+
--with-system-tzdata
125+
126+
# Placeholder for thread-safe build.
127+
ZTS
128+
129+
# Placeholder for patch commands.
130+
PATCHES
131+
132+
# Placeholder for INSTALL command.
133+
INSTALL

0 commit comments

Comments
 (0)