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 export PATH="/usr/local/opt/bison/bin:$PATH" 13 export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/usr/local/opt/openssl@1.1/lib/pkgconfig" 14 export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/usr/local/opt/curl/lib/pkgconfig" 15 export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/usr/local/opt/krb5/lib/pkgconfig" 16 export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/usr/local/opt/libffi/lib/pkgconfig" 17 export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/usr/local/opt/libxml2/lib/pkgconfig" 18 export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/usr/local/opt/libxslt/lib/pkgconfig" 19 export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/usr/local/opt/zlib/lib/pkgconfig" 20 export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/usr/local/opt/icu4c/lib/pkgconfig" 21 ./buildconf --force 22 ./configure \ 23 --enable-option-checking=fatal \ 24 --prefix=/usr/local \ 25 --enable-fpm \ 26 --with-pdo-mysql=mysqlnd \ 27 --with-mysqli=mysqlnd \ 28 --with-pgsql=/usr/local/opt/libpq \ 29 --with-pdo-pgsql=/usr/local/opt/libpq \ 30 --with-pdo-sqlite \ 31 --without-pear \ 32 --enable-gd \ 33 --with-jpeg \ 34 --with-webp \ 35 --with-freetype \ 36 --enable-exif \ 37 --with-zip \ 38 --with-zlib \ 39 --enable-soap \ 40 --enable-xmlreader \ 41 --with-xsl \ 42 --with-tidy=/usr/local/opt/tidy-html5 \ 43 --with-libxml \ 44 --enable-sysvsem \ 45 --enable-sysvshm \ 46 --enable-shmop \ 47 --enable-pcntl \ 48 --with-readline=/usr/local/opt/readline \ 49 --enable-mbstring \ 50 --with-curl \ 51 --with-gettext=/usr/local/opt/gettext \ 52 --enable-sockets \ 53 --with-bz2=/usr/local/opt/bzip2 \ 54 --with-openssl \ 55 --with-gmp=/usr/local/opt/gmp \ 56 --with-iconv=/usr/local/opt/libiconv \ 57 --enable-bcmath \ 58 --enable-calendar \ 59 --enable-ftp \ 60 --with-pspell=/usr/local/opt/aspell \ 61 --with-kerberos \ 62 --enable-sysvmsg \ 63 --with-ffi \ 64 --enable-zend-test \ 65 --enable-dl-test=shared \ 66 --enable-intl \ 67 --with-mhash \ 68 --with-sodium \ 69 --enable-dba \ 70 --enable-werror \ 71 --with-config-file-path=/etc \ 72 --with-config-file-scan-dir=/etc/php.d \ 73 ${{ inputs.configurationParameters }} 74