diff --git a/.github/workflows/build-php.yml b/.github/workflows/build-php.yml index 4db3d0c32..077889b32 100644 --- a/.github/workflows/build-php.yml +++ b/.github/workflows/build-php.yml @@ -11,8 +11,8 @@ on: workflow_dispatch: env: - GITHUB_TOKEN: ${{ secrets.PAT }} - SPC_VERSION: 2.7.1 + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + SPC_VERSION: 2.8.3 jobs: build: @@ -21,15 +21,8 @@ jobs: strategy: matrix: - version: ["8.2", "8.3", "8.4"] - os: - [ - "macos-13", - "macos-latest", - "windows-latest", - "ubuntu-latest", - "ubuntu-24.04-arm", - ] + version: ["8.3", "8.4", "8.5"] + os: ["windows-latest"] continue-on-error: true @@ -40,9 +33,9 @@ jobs: shell: bash run: echo "SPC_BINARY=spc" >> $GITHUB_ENV - - name: Set SPC URL for macos-13 + - name: Set SPC URL for macos-15-intel shell: bash - if: matrix.os == 'macos-13' + if: matrix.os == 'macos-15-intel' run: echo "SPC_URL=https://github.com/crazywhalecc/static-php-cli/releases/download/${{ env.SPC_VERSION }}/spc-macos-x86_64.tar.gz" >> $GITHUB_ENV - name: Set SPC URL for macos-latest @@ -142,21 +135,22 @@ jobs: uses: actions/cache@v4 with: path: ../static-php-cli/downloads - key: spc-downloads-${{ env.PHP_EXT_HASH }} + key: spc-downloads-${{ matrix.version }}-${{ env.SPC_VERSION }}-${{ env.PHP_EXT_HASH }} - name: Download PHP extension sources if: steps.cache-spc-downloads.outputs.cache-hit != 'true' run: | cd ../static-php-cli - ./bin/${{ env.SPC_BINARY }} download --with-php=${{ matrix.version }} --for-extensions "${{ env.PHP_EXTENSIONS }}" --prefer-pre-built --retry=3 + ./bin/${{ env.SPC_BINARY }} download --with-php=${{ matrix.version }} --for-extensions "${{ env.PHP_EXTENSIONS }}" --retry=3 cd ../php-bin + - name: Copy icon file for Windows builds if: matrix.os == 'windows-latest' shell: bash run: | cp assets/icon.ico ../static-php-cli/ - + - name: Build PHP (non-Windows) if: matrix.os != 'windows-latest' run: | @@ -170,7 +164,7 @@ jobs: cd ../static-php-cli ./bin/${{ env.SPC_BINARY }} build --build-micro "${{ env.PHP_EXTENSIONS }}" --debug --with-micro-logo=icon.ico cd ../php-bin - + - name: Get built PHP version shell: bash run: | diff --git a/bin/linux/arm64/php-8.2.zip b/bin/linux/arm64/php-8.2.zip index df79fb777..5454d082f 100644 Binary files a/bin/linux/arm64/php-8.2.zip and b/bin/linux/arm64/php-8.2.zip differ diff --git a/bin/linux/arm64/php-8.3.zip b/bin/linux/arm64/php-8.3.zip index f3be2034b..516441b90 100644 Binary files a/bin/linux/arm64/php-8.3.zip and b/bin/linux/arm64/php-8.3.zip differ diff --git a/bin/linux/arm64/php-8.4.zip b/bin/linux/arm64/php-8.4.zip index ff41676d3..f2b7264b7 100644 Binary files a/bin/linux/arm64/php-8.4.zip and b/bin/linux/arm64/php-8.4.zip differ diff --git a/bin/linux/x64/php-8.2.zip b/bin/linux/x64/php-8.2.zip index 3973afbae..966521b7b 100644 Binary files a/bin/linux/x64/php-8.2.zip and b/bin/linux/x64/php-8.2.zip differ diff --git a/bin/linux/x64/php-8.3.zip b/bin/linux/x64/php-8.3.zip index c0fd24ca1..2a45c4332 100644 Binary files a/bin/linux/x64/php-8.3.zip and b/bin/linux/x64/php-8.3.zip differ diff --git a/bin/linux/x64/php-8.4.zip b/bin/linux/x64/php-8.4.zip index 8711ef537..e3670b52d 100644 Binary files a/bin/linux/x64/php-8.4.zip and b/bin/linux/x64/php-8.4.zip differ diff --git a/bin/mac/arm64/php-8.2.zip b/bin/mac/arm64/php-8.2.zip index d74334e1c..32870d849 100644 Binary files a/bin/mac/arm64/php-8.2.zip and b/bin/mac/arm64/php-8.2.zip differ diff --git a/bin/mac/arm64/php-8.3.zip b/bin/mac/arm64/php-8.3.zip index eb4414034..8c5430468 100644 Binary files a/bin/mac/arm64/php-8.3.zip and b/bin/mac/arm64/php-8.3.zip differ diff --git a/bin/mac/arm64/php-8.4.zip b/bin/mac/arm64/php-8.4.zip index 80f7c81ea..cc197c5b5 100644 Binary files a/bin/mac/arm64/php-8.4.zip and b/bin/mac/arm64/php-8.4.zip differ diff --git a/bin/mac/x64/php-8.2.zip b/bin/mac/x64/php-8.2.zip index f25ef3b6d..8950e9373 100644 Binary files a/bin/mac/x64/php-8.2.zip and b/bin/mac/x64/php-8.2.zip differ diff --git a/bin/mac/x64/php-8.3.zip b/bin/mac/x64/php-8.3.zip index 2c00df60b..2607ad270 100644 Binary files a/bin/mac/x64/php-8.3.zip and b/bin/mac/x64/php-8.3.zip differ diff --git a/bin/mac/x64/php-8.4.zip b/bin/mac/x64/php-8.4.zip index 5928f13ea..d3f9a77c1 100644 Binary files a/bin/mac/x64/php-8.4.zip and b/bin/mac/x64/php-8.4.zip differ diff --git a/bin/win/x64/php-8.2.zip b/bin/win/x64/php-8.2.zip index 6a2791b6a..905aab7d0 100644 Binary files a/bin/win/x64/php-8.2.zip and b/bin/win/x64/php-8.2.zip differ diff --git a/bin/win/x64/php-8.3.zip b/bin/win/x64/php-8.3.zip index 7c3726f1c..564606c04 100644 Binary files a/bin/win/x64/php-8.3.zip and b/bin/win/x64/php-8.3.zip differ diff --git a/bin/win/x64/php-8.4.zip b/bin/win/x64/php-8.4.zip index 4be9be0eb..83941994f 100644 Binary files a/bin/win/x64/php-8.4.zip and b/bin/win/x64/php-8.4.zip differ diff --git a/bin/win/x64/php-8.5.zip b/bin/win/x64/php-8.5.zip new file mode 100644 index 000000000..6083bb401 Binary files /dev/null and b/bin/win/x64/php-8.5.zip differ diff --git a/build-meta/build-extensions-linux.json b/build-meta/build-extensions-linux.json index 3b2cec302..23ff6e674 100644 --- a/build-meta/build-extensions-linux.json +++ b/build-meta/build-extensions-linux.json @@ -27,5 +27,6 @@ "xmlwriter", "xmlreader", "xml", - "zip" + "zip", + "soap" ] \ No newline at end of file diff --git a/build-meta/build-extensions-mac.json b/build-meta/build-extensions-mac.json index 3b2cec302..23ff6e674 100644 --- a/build-meta/build-extensions-mac.json +++ b/build-meta/build-extensions-mac.json @@ -27,5 +27,6 @@ "xmlwriter", "xmlreader", "xml", - "zip" + "zip", + "soap" ] \ No newline at end of file diff --git a/build-meta/build-extensions-win.json b/build-meta/build-extensions-win.json index 67aad71fa..34872c45f 100644 --- a/build-meta/build-extensions-win.json +++ b/build-meta/build-extensions-win.json @@ -21,7 +21,9 @@ "sqlite3", "pdo_sqlite", "phar", + "libxml", "session", + "soap", "simplexml", "sockets", "tokenizer", diff --git a/build-meta/build-extensions.json b/build-meta/build-extensions.json index b19b53bc1..57ac0b4de 100644 --- a/build-meta/build-extensions.json +++ b/build-meta/build-extensions.json @@ -11,6 +11,7 @@ "opcache", "openssl", "pdo", + "soap", "sqlite3", "pdo_sqlite", "phar", diff --git a/build-meta/build-libraries-win.json b/build-meta/build-libraries-win.json index 7cfa6bd44..a7d54ee25 100644 --- a/build-meta/build-libraries-win.json +++ b/build-meta/build-libraries-win.json @@ -1,6 +1,7 @@ [ "lib-base", "micro", + "frankenphp", "php", "bzip2", "zlib", diff --git a/license-files/ext_zip_0.txt b/license-files/ext_zip_0.txt new file mode 100644 index 000000000..42536af32 --- /dev/null +++ b/license-files/ext_zip_0.txt @@ -0,0 +1,68 @@ +-------------------------------------------------------------------- + The PHP License, version 3.01 +Copyright (c) 1999 - 2012 The PHP Group. All rights reserved. +-------------------------------------------------------------------- + +Redistribution and use in source and binary forms, with or without +modification, is permitted provided that the following conditions +are met: + + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + + 3. The name "PHP" must not be used to endorse or promote products + derived from this software without prior written permission. For + written permission, please contact group@php.net. + + 4. Products derived from this software may not be called "PHP", nor + may "PHP" appear in their name, without prior written permission + from group@php.net. You may indicate that your software works in + conjunction with PHP by saying "Foo for PHP" instead of calling + it "PHP Foo" or "phpfoo" + + 5. The PHP Group may publish revised and/or new versions of the + license from time to time. Each version will be given a + distinguishing version number. + Once covered code has been published under a particular version + of the license, you may always continue to use it under the terms + of that version. You may also choose to use such covered code + under the terms of any subsequent version of the license + published by the PHP Group. No one other than the PHP Group has + the right to modify the terms applicable to covered code created + under this License. + + 6. Redistributions of any form whatsoever must retain the following + acknowledgment: + "This product includes PHP software, freely available from + ". + +THIS SOFTWARE IS PROVIDED BY THE PHP DEVELOPMENT TEAM ``AS IS'' AND +ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A +PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE PHP +DEVELOPMENT TEAM OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, +INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, +STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED +OF THE POSSIBILITY OF SUCH DAMAGE. + +-------------------------------------------------------------------- + +This software consists of voluntary contributions made by many +individuals on behalf of the PHP Group. + +The PHP Group can be contacted via Email at group@php.net. + +For more information on the PHP Group and the PHP project, +please see . + +PHP includes the Zend Engine, freely available at +. diff --git a/license-files/lib_curl_0.txt b/license-files/lib_curl_0.txt index 3fa85ebb6..2f71d999a 100644 --- a/license-files/lib_curl_0.txt +++ b/license-files/lib_curl_0.txt @@ -1,6 +1,6 @@ COPYRIGHT AND PERMISSION NOTICE -Copyright (c) 1996 - 2025, Daniel Stenberg, , and many +Copyright (c) 1996 - 2026, Daniel Stenberg, , and many contributors, see the THANKS file. All rights reserved. diff --git a/license-files/lib_libpng_0.txt b/license-files/lib_libpng_0.txt index ea6df986c..1b765ae9f 100644 --- a/license-files/lib_libpng_0.txt +++ b/license-files/lib_libpng_0.txt @@ -4,8 +4,8 @@ COPYRIGHT NOTICE, DISCLAIMER, and LICENSE PNG Reference Library License version 2 --------------------------------------- - * Copyright (c) 1995-2025 The PNG Reference Library Authors. - * Copyright (c) 2018-2025 Cosmin Truta. + * Copyright (c) 1995-2026 The PNG Reference Library Authors. + * Copyright (c) 2018-2026 Cosmin Truta. * Copyright (c) 2000-2002, 2004, 2006-2018 Glenn Randers-Pehrson. * Copyright (c) 1996-1997 Andreas Dilger. * Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc. diff --git a/license-files/lib_libxml2_0.txt b/license-files/lib_libxml2_0.txt index c058f0222..8c0b7c15d 100644 --- a/license-files/lib_libxml2_0.txt +++ b/license-files/lib_libxml2_0.txt @@ -1,8 +1,9 @@ -Except where otherwise noted in the source code (e.g. the files dict.c, -list.c and the trio files, which are covered by a similar licence but -with different Copyright notices) all the files are: +Except where otherwise noted in the source code (e.g. the files dict.c and +list.c, which are covered by a similar licence but with different Copyright +notices) all the files are: Copyright (C) 1998-2012 Daniel Veillard. All Rights Reserved. + Copyright (C) The Libxml2 Contributors. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/php-extensions.txt b/php-extensions.txt index 8db7ff689..e3c590c72 100644 --- a/php-extensions.txt +++ b/php-extensions.txt @@ -1 +1 @@ -bcmath,bz2,ctype,curl,dom,fileinfo,filter,ftp,gd,iconv,mbstring,mbregex,mysqlnd,opcache,openssl,pdo,pdo_mysql,pdo_sqlite,phar,session,simplexml,sockets,sqlite3,tokenizer,xmlwriter,xmlreader,xml,zip,zlib +bcmath,bz2,ctype,curl,dom,fileinfo,filter,ftp,gd,iconv,mbstring,mbregex,mysqlnd,opcache,openssl,pdo,pdo_mysql,pdo_sqlite,phar,soap,session,simplexml,sockets,sqlite3,tokenizer,xmlwriter,xmlreader,xml,zip,zlib \ No newline at end of file