Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: php/php-src
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: php-8.3.19
Choose a base ref
...
head repository: php/php-src
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: php-8.4.0
Choose a head ref

Commits on Aug 29, 2023

  1. Start PHP 8.4 development cycle

    bukka committed Aug 29, 2023
    Copy the full SHA
    7deb84b View commit details
  2. Merge branch 'PHP-8.3'

    bukka committed Aug 29, 2023
    Copy the full SHA
    f612a72 View commit details
  3. Prepare for PHP 8.4

    adoy committed Aug 29, 2023
    Copy the full SHA
    ad2ac6f View commit details

Commits on Aug 30, 2023

  1. Merge branch 'PHP-8.3'

    * PHP-8.3:
      Fix the class synopsis of Throwable
    kocsismate committed Aug 30, 2023
    Copy the full SHA
    1ee6ad9 View commit details
  2. Merge branch 'PHP-8.3'

    bukka committed Aug 30, 2023
    Copy the full SHA
    8c442f1 View commit details
  3. Merge branch 'PHP-8.3'

    bukka committed Aug 30, 2023
    Copy the full SHA
    46929ea View commit details
  4. Merge branch 'PHP-8.3'

    bukka committed Aug 30, 2023
    Copy the full SHA
    0a34716 View commit details
  5. Copy the full SHA
    760367d View commit details
  6. Merge branch 'PHP-8.3'

    * PHP-8.3:
      Fix GH-11876: ini_parse_quantity() accepts invalid quantities
    Girgias committed Aug 30, 2023
    Copy the full SHA
    a3725f1 View commit details
  7. Merge branch 'PHP-8.3'

    * PHP-8.3:
      Skip dl() tests on ASAN
    iluuu1994 committed Aug 30, 2023
    Copy the full SHA
    da0e057 View commit details
  8. Merge branch 'PHP-8.3'

    * PHP-8.3:
      Fix GH-11972: RecursiveCallbackFilterIterator regression in 8.1.18
    nielsdos committed Aug 30, 2023
    Copy the full SHA
    f66677e View commit details
  9. Merge branch 'PHP-8.3'

    * PHP-8.3:
      Fix GH-11972: RecursiveCallbackFilterIterator regression in 8.1.18
    nielsdos committed Aug 30, 2023
    Copy the full SHA
    d5bfaec View commit details
  10. Merge branch 'PHP-8.3'

    * PHP-8.3:
      Increase run-tests.php timeout for asan
    iluuu1994 committed Aug 30, 2023
    Copy the full SHA
    0d94b58 View commit details

Commits on Aug 31, 2023

  1. Copy the full SHA
    890cbbf View commit details
  2. Merge branch 'PHP-8.3'

    * PHP-8.3:
      ensure displays_errors is off (default)
    remicollet committed Aug 31, 2023
    Copy the full SHA
    2521a3f View commit details
  3. Copy the full SHA
    dda6b8f View commit details

Commits on Sep 1, 2023

  1. 1
    Copy the full SHA
    b7af61a View commit details
  2. Merge branch 'PHP-8.3'

    * PHP-8.3:
      [skip ci] Fix borked xleak skip on <PHP-8.3
    iluuu1994 committed Sep 1, 2023
    Copy the full SHA
    ac607b6 View commit details
  3. Merge branch 'PHP-8.3'

    - PHP-8.3:
      Align class name detection to the new class synopsis format
    kocsismate committed Sep 1, 2023
    Copy the full SHA
    0d7ef87 View commit details

Commits on Sep 2, 2023

  1. Copy the full SHA
    07c688f View commit details
  2. Copy the full SHA
    7be4795 View commit details
  3. Preallocate result array size in xpath (#12105)

    We know what size they're going to be, and we know they are packed
    arrays. Prevent reallocations and initialisation overhead by setting the
    initial size and initializing it as packed from the start.
    nielsdos authored Sep 2, 2023
    Copy the full SHA
    4dea42a View commit details
  4. Merge branch 'PHP-8.3'

    * PHP-8.3:
      Fix memory leak with failed SQLPrepare
    Girgias committed Sep 2, 2023
    Copy the full SHA
    2c05db3 View commit details
  5. Merge branch 'PHP-8.3'

    * PHP-8.3:
      Add tests for oss-fuzz-61469: Undef dynamic property in ++/-- unset in error handler
    Girgias committed Sep 2, 2023
    Copy the full SHA
    575263f View commit details
  6. Copy the full SHA
    4844318 View commit details

Commits on Sep 3, 2023

  1. Merge branch 'PHP-8.3'

    * PHP-8.3:
      Fixed bug GH-12020: intl_get_error_message() broken after MessageFormatter::formatMessage() fails
    Girgias committed Sep 3, 2023
    Copy the full SHA
    4a7aa64 View commit details
  2. Merge branch 'PHP-8.3'

    * PHP-8.3:
      Include branch in benchmarking information
    iluuu1994 committed Sep 3, 2023
    Copy the full SHA
    4b55851 View commit details
  3. Merge branch 'PHP-8.3'

    * PHP-8.3:
      [skip ci] Fix branch check in nightly for PHP-8.3
    iluuu1994 committed Sep 3, 2023
    Copy the full SHA
    b9fee81 View commit details
  4. Merge branch 'PHP-8.3'

    * PHP-8.3:
      Fix master branch check in find-target-branch.bat
    iluuu1994 committed Sep 3, 2023
    Copy the full SHA
    80c33c2 View commit details
  5. Merge branch 'PHP-8.3'

    * PHP-8.3:
      xfail mbstring test on Windows 32-bit
    iluuu1994 committed Sep 3, 2023
    Copy the full SHA
    c0b3cbf View commit details
  6. Merge branch 'PHP-8.3'

    * PHP-8.3:
      Tweak behaviour of dynamic properties wrt error handlers
    nielsdos committed Sep 3, 2023
    Copy the full SHA
    e2189e5 View commit details

Commits on Sep 4, 2023

  1. Copy the full SHA
    3499024 View commit details
  2. Copy the full SHA
    c1184ff View commit details
  3. Merge branch 'PHP-8.3'

    * PHP-8.3:
      [skip ci] Skip github actions when editing other ci files
    iluuu1994 committed Sep 4, 2023
    Copy the full SHA
    3620c1a View commit details
  4. Merge branch 'PHP-8.3'

    * PHP-8.3:
      [skip ci] Backport GA paths-ignore changes
    iluuu1994 committed Sep 4, 2023
    Copy the full SHA
    acd7769 View commit details
  5. Merge branch 'PHP-8.3'

    * PHP-8.3:
      Fix freeing of incompletely initialized closures
    iluuu1994 committed Sep 4, 2023
    Copy the full SHA
    3f38105 View commit details

Commits on Sep 5, 2023

  1. Copy the full SHA
    0363dbf View commit details
  2. Merge branch 'PHP-8.3'

    * PHP-8.3:
      Fixed uninitialized EX(opline) access (possible Zend/tests/gh12073.phpt crash)
    dstogov committed Sep 5, 2023
    Copy the full SHA
    8cfe267 View commit details
  3. Merge branch 'PHP-8.3'

    * PHP-8.3:
      Prevents double call to internal iterator rewind handler
      adds failing test case for #12060
    Girgias committed Sep 5, 2023
    Copy the full SHA
    ee6453f View commit details
  4. Merge branch 'PHP-8.3'

    * PHP-8.3:
      Fix OSS Fuzz #61865: Undef variable in ++/-- for declared property that is unset in error handler
    Girgias committed Sep 5, 2023
    Copy the full SHA
    2d3bff3 View commit details
  5. Merge branch 'PHP-8.3'

    * PHP-8.3:
      Revert 479e659
    iluuu1994 committed Sep 5, 2023
    Copy the full SHA
    fd13aee View commit details
  6. Merge branch 'PHP-8.3'

    * PHP-8.3:
      Skip profiling of sqlite3_step
    iluuu1994 committed Sep 5, 2023
    Copy the full SHA
    fc1c948 View commit details
  7. Merge branch 'PHP-8.3'

    * PHP-8.3:
      Fixed tracing jit for BIND_INIT_STATIC_OR_JMP
    dstogov committed Sep 5, 2023
    Copy the full SHA
    ce80c7a View commit details
  8. Merge branch 'PHP-8.3'

    * PHP-8.3:
      Fix ws
    dstogov committed Sep 5, 2023
    Copy the full SHA
    c69ec54 View commit details

Commits on Sep 6, 2023

  1. Merge branch 'PHP-8.3'

    * PHP-8.3:
      ODBC unit tests shouldn't override odbc.ini location
      Fix persistent procedural ODBC connections not getting closed
    Girgias committed Sep 6, 2023
    Copy the full SHA
    e72b6f4 View commit details
  2. Merge branch 'PHP-8.3'

    * PHP-8.3:
      [ci skip] UPGRADING
    nielsdos committed Sep 6, 2023
    Copy the full SHA
    d693f0a View commit details

Commits on Sep 7, 2023

  1. Improve detection of predefined constants

    In order to include constants documented at https://www.php.net/manual/en/reserved.constants.php, as well as constants which share the same varlistentry (just like what
    https://www.php.net/manual/en/class.datetimeinterface.php#datetimeinterface.constants.atom does). In the same time, special constants like
    true, false, null are excluded, since the manual uses their entity (&true;, &false, &null;, respectively), and gen_stub.php couldn't detect
    them.
    kocsismate committed Sep 7, 2023
    Copy the full SHA
    2cb4d00 View commit details
  2. 5
    Copy the full SHA
    2fad7cd View commit details
  3. Merge branch 'PHP-8.3'

    * PHP-8.3:
      Revert "Skip profiling of sqlite3_step"
    iluuu1994 committed Sep 7, 2023
    Copy the full SHA
    06c4092 View commit details
  4. Merge branch 'PHP-8.3'

    * PHP-8.3:
      Fix zend_separate_if_call_and_write for FUNC_ARGs
    iluuu1994 committed Sep 7, 2023
    Copy the full SHA
    c803402 View commit details
Showing 6,483 changed files with 632,506 additions and 697,660 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
15 changes: 1 addition & 14 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -46,17 +46,13 @@ jobs:
libicu-dev \
libtidy-dev \
libenchant-2-dev \
libaspell-dev \
libpspell-dev \
libsasl2-dev \
libxpm-dev \
libzip-dev \
libbz2-dev \
libsqlite3-dev \
libwebp-dev \
libonig-dev \
libkrb5-dev \
libgssapi-krb5-2 \
libcurl4-openssl-dev \
libxml2-dev \
libxslt1-dev \
@@ -71,7 +67,6 @@ jobs:
`#snmp-mibs-downloader` \
freetds-dev \
`#unixodbc-dev` \
libc-client-dev \
dovecot-core \
dovecot-pop3d \
dovecot-imapd \
@@ -111,7 +106,6 @@ jobs:
--enable-exif \
--with-zip \
--with-zlib \
--with-zlib-dir=/usr \
--enable-soap \
--enable-xmlreader \
--with-xsl \
@@ -131,9 +125,7 @@ jobs:
--enable-bcmath \
--enable-calendar \
--enable-ftp \
--with-pspell=/usr \
--with-enchant=/usr \
--with-kerberos \
--enable-sysvmsg \
--with-ffi \
--enable-zend-test \
@@ -152,12 +144,7 @@ jobs:
--with-qdbm \
--with-snmp \
`#--with-unixODBC` \
--with-imap \
--with-kerberos \
--with-imap-ssl \
`#--with-pdo-odbc=unixODBC,/usr` \
`#--with-pdo-oci=shared,instantclient,/opt/oracle/instantclient` \
`#--with-oci8=shared,instantclient,/opt/oracle/instantclient` \
--with-config-file-path=/etc \
--with-config-file-scan-dir=/etc/php.d \
--with-pdo-firebird \
@@ -182,7 +169,7 @@ jobs:
sapi/cli/php run-tests.php \
-d zend_extension=opcache.so \
-d opcache.enable_cli=1 \
-d opcache.jit_buffer_size=16M \
-d opcache.jit_buffer_size=64M \
-d opcache.jit=tracing \
-d zend_test.observer.enabled=1 \
-d zend_test.observer.show_output=0 \
4 changes: 2 additions & 2 deletions .cirrus.yml
Original file line number Diff line number Diff line change
@@ -12,10 +12,10 @@ freebsd_task:
#- sed -i -e 's/quarterly/latest/g' /etc/pkg/FreeBSD.conf
#- pkg upgrade -y
- kldload accf_http
- pkg install -y autoconf bison gmake re2c icu libiconv png freetype2 enchant2 bzip2 krb5 t1lib gmp tidyp libsodium libzip libxml2 libxslt openssl oniguruma pkgconf webp libavif
- pkg install -y autoconf bison gmake re2c icu libiconv png freetype2 enchant2 bzip2 t1lib gmp tidyp libsodium libzip libxml2 libxslt openssl oniguruma pkgconf webp libavif
script:
- ./buildconf -f
- ./configure --prefix=/usr/local --enable-debug --enable-option-checking=fatal --enable-fpm --with-pdo-sqlite --without-pear --with-bz2 --with-avif --with-jpeg --with-webp --with-freetype --enable-gd --enable-exif --with-zip --with-zlib --enable-soap --enable-xmlreader --with-xsl --with-libxml --enable-shmop --enable-pcntl --enable-mbstring --with-curl --enable-sockets --with-openssl --with-iconv=/usr/local --enable-bcmath --enable-calendar --enable-ftp --with-kerberos --with-ffi --enable-zend-test --enable-dl-test=shared --enable-intl --with-mhash --with-sodium --with-config-file-path=/etc --with-config-file-scan-dir=/etc/php.d
- ./configure --prefix=/usr/local --enable-debug --enable-option-checking=fatal --enable-fpm --with-pdo-sqlite --without-pear --with-bz2 --with-avif --with-jpeg --with-webp --with-freetype --enable-gd --enable-exif --with-zip --with-zlib --enable-soap --enable-xmlreader --with-xsl --with-libxml --enable-shmop --enable-pcntl --enable-mbstring --with-curl --enable-sockets --with-openssl --with-iconv=/usr/local --enable-bcmath --enable-calendar --enable-ftp --with-ffi --enable-zend-test --enable-dl-test=shared --enable-intl --with-mhash --with-sodium --enable-werror --with-config-file-path=/etc --with-config-file-scan-dir=/etc/php.d
- gmake -j2
- mkdir /etc/php.d
- gmake install
6 changes: 5 additions & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -21,9 +21,13 @@

# Collapse generated files within git and pull request diff.
**/*_arginfo.h linguist-generated -diff
/main/gdb_inlined_script.c linguist-generated -diff
/Zend/zend_vm_execute.h linguist-generated -diff
/Zend/zend_vm_handlers.h linguist-generated -diff
/Zend/zend_vm_opcodes.[ch] linguist-generated -diff

# The OSS fuzz files are bunary
# The OSS fuzz files are binary
/ext/date/tests/ossfuzz*.txt binary

# Vendored libraries
/ext/dom/lexbor/lexbor linguist-vendored
1 change: 0 additions & 1 deletion .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -25,7 +25,6 @@
/ext/gd @devnexen
/ext/gettext @devnexen
/ext/gmp @Girgias
/ext/imap @Girgias
/ext/intl @devnexen
/ext/json @bukka
/ext/libxml @nielsdos
3 changes: 0 additions & 3 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -3,6 +3,3 @@ contact_links:
- name: Documentation issue
url: https://github.com/php/doc-en/issues
about: Please report documentation issues on the doc-en repository.
- name: Security issue
url: https://bugs.php.net/report.php?security_bug
about: Please report security issues in this private bug tracker.
56 changes: 56 additions & 0 deletions .github/actions/apk/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
name: apk
runs:
using: composite
steps:
- shell: sh
run: |
set -x
apk update -q
apk add \
util-linux \
bash \
sudo \
build-base \
autoconf \
unzip \
tar \
bison \
re2c \
pkgconf \
mysql-client \
bzip2-dev \
curl-dev \
freetype-dev \
gettext-dev \
gnu-libiconv-dev \
gmp-dev \
icu-dev \
icu-data-full \
jpeg-dev \
libffi-dev \
libpng-dev \
libsodium-dev \
libwebp-dev \
libxml2-dev \
libxpm-dev \
libxslt-dev \
libzip-dev \
oniguruma-dev \
openssl-dev \
readline-dev \
sqlite-dev \
tidyhtml-dev \
gdbm-dev \
lmdb-dev \
argon2-dev \
enchant2-dev \
freetds-dev \
imap-dev \
net-snmp-dev \
openldap-dev \
unixodbc-dev \
postgresql14-dev \
tzdata \
musl-locales \
musl-locales-lang
4 changes: 0 additions & 4 deletions .github/actions/apt-x32/action.yml
Original file line number Diff line number Diff line change
@@ -17,21 +17,17 @@ runs:
g++-multilib \
gcc-multilib \
language-pack-de \
libaspell-dev:i386 \
libbz2-dev:i386 \
libc6:i386 \
libcurl4-openssl-dev:i386 \
libffi-dev:i386 \
libfreetype6-dev:i386 \
libgmp-dev:i386 \
libgssapi-krb5-2:i386 \
libicu-dev:i386 \
libjpeg-dev:i386 \
libkrb5-dev:i386 \
libonig-dev:i386 \
libpng-dev:i386 \
libpq-dev:i386 \
libpspell-dev:i386 \
libreadline-dev:i386 \
libsasl2-dev:i386 \
libsodium-dev:i386 \
13 changes: 7 additions & 6 deletions .github/actions/apt-x64/action.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
name: apt
inputs:
asan:
default: false
required: false
runs:
using: composite
steps:
@@ -32,22 +36,20 @@ runs:
libicu-dev \
libtidy-dev \
libenchant-2-dev \
libaspell-dev \
libbz2-dev \
libpspell-dev \
libsasl2-dev \
libxpm-dev \
libzip-dev \
libsqlite3-dev \
libsqlite3-mod-spatialite \
libwebp-dev \
${{ inputs.asan == 'false' && 'libavif-dev' || '' }} \
libonig-dev \
libkrb5-dev \
libgssapi-krb5-2 \
libcurl4-openssl-dev \
libxml2-dev \
libxslt1-dev \
libpq-dev \
libreadline-dev \
libedit-dev \
libldap2-dev \
libsodium-dev \
libargon2-dev \
@@ -61,7 +63,6 @@ runs:
unixodbc-dev \
llvm \
clang \
libc-client-dev \
dovecot-core \
dovecot-pop3d \
dovecot-imapd \
4 changes: 3 additions & 1 deletion .github/actions/brew/action.yml
Original file line number Diff line number Diff line change
@@ -11,6 +11,9 @@ runs:
code=" keg.link\(verbose: verbose\?"
sudo sed -Ei '' "s/$code.*/$code, overwrite: true\)/" "$formula_installer"
# Some packages exist on x86 but not arm, or vice versa.
# Install them with reinstall to avoid warnings.
brew reinstall autoconf webp tidy-html5 libzip libsodium icu4c
brew install \
bison \
re2c
@@ -19,7 +22,6 @@ runs:
enchant \
libffi \
intltool \
icu4c \
libiconv \
t1lib \
libxml2 \
79 changes: 79 additions & 0 deletions .github/actions/configure-alpine/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
name: ./configure
inputs:
configurationParameters:
default: ''
required: false
skipSlow:
default: false
required: false
runs:
using: composite
steps:
- shell: bash
run: |
set -x
./buildconf --force
./configure \
--enable-option-checking=fatal \
--prefix=/usr \
--enable-phpdbg \
--enable-fpm \
--with-pdo-mysql=mysqlnd \
--with-mysqli=mysqlnd \
${{ inputs.skipSlow == 'false' && '--with-pgsql' || '' }} \
${{ inputs.skipSlow == 'false' && '--with-pdo-pgsql' || '' }} \
${{ inputs.skipSlow == 'false' && '--with-pdo-sqlite' || '' }} \
--enable-intl \
--without-pear \
--enable-gd \
--with-jpeg \
--with-webp \
--with-freetype \
--with-xpm \
--enable-exif \
--with-zip \
--with-zlib \
--enable-soap \
--enable-xmlreader \
--with-xsl \
${{ inputs.skipSlow == 'false' && '--with-tidy' || '' }} \
--enable-sysvsem \
--enable-sysvshm \
--enable-shmop \
--enable-pcntl \
--with-readline \
--enable-mbstring \
--with-iconv=/usr \
--with-curl \
--with-gettext \
--enable-sockets \
--with-bz2 \
--with-openssl \
--with-gmp \
--enable-bcmath \
--enable-calendar \
--enable-ftp \
${{ inputs.skipSlow == 'false' && '--with-enchant=/usr' || '' }} \
--enable-sysvmsg \
--with-ffi \
--enable-zend-test \
${{ inputs.skipSlow == 'false' && '--enable-dl-test=shared' || '' }} \
${{ inputs.skipSlow == 'false' && '--with-ldap' || '' }} \
${{ inputs.skipSlow == 'false' && '--with-ldap-sasl' || '' }} \
--with-password-argon2 \
--with-mhash \
--with-sodium \
--enable-dba \
--with-cdb \
--enable-flatfile \
--enable-inifile \
--with-lmdb \
--with-gdbm \
${{ inputs.skipSlow == 'false' && '--with-snmp' || '' }} \
${{ inputs.skipSlow == 'false' && '--with-unixODBC' || '' }} \
${{ inputs.skipSlow == 'false' && '--with-pdo-odbc=unixODBC,/usr' || '' }} \
--with-config-file-path=/etc \
--with-config-file-scan-dir=/etc/php.d \
${{ inputs.skipSlow == 'false' && '--with-pdo-dblib' || '' }} \
--enable-werror \
${{ inputs.configurationParameters }}
36 changes: 16 additions & 20 deletions .github/actions/configure-macos/action.yml
Original file line number Diff line number Diff line change
@@ -10,26 +10,24 @@ runs:
run: |
set -x
BREW_OPT="$(brew --prefix)"/opt
export PATH="/usr/local/opt/bison/bin:$PATH"
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/usr/local/opt/openssl@1.1/lib/pkgconfig"
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/usr/local/opt/curl/lib/pkgconfig"
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/usr/local/opt/krb5/lib/pkgconfig"
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/usr/local/opt/libffi/lib/pkgconfig"
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/usr/local/opt/libxml2/lib/pkgconfig"
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/usr/local/opt/libxslt/lib/pkgconfig"
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/usr/local/opt/zlib/lib/pkgconfig"
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/usr/local/opt/icu4c/lib/pkgconfig"
export PATH="$BREW_OPT/bison/bin:$PATH"
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:$BREW_OPT/openssl@1.1/lib/pkgconfig"
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:$BREW_OPT/curl/lib/pkgconfig"
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:$BREW_OPT/libffi/lib/pkgconfig"
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:$BREW_OPT/libxml2/lib/pkgconfig"
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:$BREW_OPT/libxslt/lib/pkgconfig"
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:$BREW_OPT/zlib/lib/pkgconfig"
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:$BREW_OPT/icu4c/lib/pkgconfig"
sed -i -e 's/Requires.private:.*//g' "$BREW_OPT/curl/lib/pkgconfig/libcurl.pc"
./buildconf --force
./configure \
CFLAGS="-Wno-strict-prototypes -Wno-unused-but-set-variable -Wno-single-bit-bitfield-constant-conversion" \
--enable-option-checking=fatal \
--prefix=/usr/local \
--enable-fpm \
--with-pdo-mysql=mysqlnd \
--with-mysqli=mysqlnd \
--with-pgsql=/usr/local/opt/libpq \
--with-pdo-pgsql=/usr/local/opt/libpq \
--with-pgsql="$BREW_OPT"/libpq \
--with-pdo-pgsql="$BREW_OPT"/libpq \
--with-pdo-sqlite \
--without-pear \
--enable-gd \
@@ -42,26 +40,24 @@ runs:
--enable-soap \
--enable-xmlreader \
--with-xsl \
--with-tidy=/usr/local/opt/tidy-html5 \
--with-tidy="$BREW_OPT"/tidy-html5 \
--with-libxml \
--enable-sysvsem \
--enable-sysvshm \
--enable-shmop \
--enable-pcntl \
--with-readline=/usr/local/opt/readline \
--with-readline="$BREW_OPT"/readline \
--enable-mbstring \
--with-curl \
--with-gettext=/usr/local/opt/gettext \
--with-gettext="$BREW_OPT"/gettext \
--enable-sockets \
--with-bz2=/usr/local/opt/bzip2 \
--with-bz2="$BREW_OPT"/bzip2 \
--with-openssl \
--with-gmp=/usr/local/opt/gmp \
--with-iconv=/usr/local/opt/libiconv \
--with-gmp="$BREW_OPT"/gmp \
--with-iconv="$BREW_OPT"/libiconv \
--enable-bcmath \
--enable-calendar \
--enable-ftp \
--with-pspell=/usr/local/opt/aspell \
--with-kerberos \
--enable-sysvmsg \
--with-ffi \
--enable-zend-test \
Loading