1name: ./configure
2inputs:
3  configurationParameters:
4    default: ''
5    required: false
6runs:
7  using: composite
8  steps:
9    - shell: bash
10      run: |
11        set -x
12        ./buildconf --force
13        ./configure \
14          --enable-option-checking=fatal \
15          --prefix=/usr \
16          --enable-phpdbg \
17          --enable-fpm \
18          --with-pdo-mysql=mysqlnd \
19          --with-mysqli=mysqlnd \
20          --with-pgsql \
21          --with-pdo-pgsql \
22          --with-pdo-sqlite \
23          --enable-intl \
24          --without-pear \
25          --enable-gd \
26          --with-jpeg \
27          --with-webp \
28          --with-freetype \
29          --with-xpm \
30          --enable-exif \
31          --with-zip \
32          --with-zlib \
33          --with-zlib-dir=/usr \
34          --enable-soap \
35          --enable-xmlreader \
36          --with-xsl \
37          --with-tidy \
38          --enable-sysvsem \
39          --enable-sysvshm \
40          --enable-shmop \
41          --enable-pcntl \
42          --with-readline \
43          --enable-mbstring \
44          --with-curl \
45          --with-gettext \
46          --enable-sockets \
47          --with-bz2 \
48          --with-openssl \
49          --with-gmp \
50          --enable-bcmath \
51          --enable-calendar \
52          --enable-ftp \
53          --with-pspell=/usr \
54          --with-enchant=/usr \
55          --with-kerberos \
56          --enable-sysvmsg \
57          --with-ffi \
58          --enable-zend-test \
59          --enable-dl-test=shared \
60          --with-ldap \
61          --with-ldap-sasl \
62          --with-password-argon2 \
63          --with-mhash \
64          --with-sodium \
65          --enable-dba \
66          --with-cdb \
67          --enable-flatfile \
68          --enable-inifile \
69          --with-tcadb \
70          --with-lmdb \
71          --with-qdbm \
72          --with-snmp \
73          --with-unixODBC \
74          --with-imap \
75          --with-imap-ssl \
76          --with-pdo-odbc=unixODBC,/usr \
77          $([ -d "/opt/oracle/instantclient" ] && echo '--with-pdo-oci=shared,instantclient,/opt/oracle/instantclient') \
78          $([ -d "/opt/oracle/instantclient" ] && echo '--with-oci8=shared,instantclient,/opt/oracle/instantclient') \
79          --with-config-file-path=/etc \
80          --with-config-file-scan-dir=/etc/php.d \
81          --with-pdo-firebird \
82          --with-pdo-dblib \
83          --enable-werror \
84          ${{ inputs.configurationParameters }}
85