Commit Graph
158 Commits
Author SHA1 Message Date
chrisandClaude Opus 5.5 7b6bb066dc Add security patches for PHP 5.6.40.
From omega8cc/boa (5.x-dev, aegir/patches/php-sec):
php-5.6.40-openssl3-pkey-export.patch, php-5.6.40-round-places-overflow.patch,
php-5.6.40-sury-105.patch, php-5.6.40-xlts-1.patch, php-5.6.40-xlts-2.patch.

sury-105 contains the 5.6 backport of the CVE-2026-109618/109619 fix.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 20:13:05 +01:00
chrisandClaude Opus 5.5 e73064d2b0 mod_php_install.sh: apply php-8.1.34-xlts-2.patch for PHP 8.1.34.
Applied after php-8.1.34-cve-2026-129291.patch and before
php-8.1.34-sury-9-re2c-generated.patch. The whole sequence applies
without fuzz or offset to php-8.1.34. xlts-2 changes no generated
files.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 18:50:34 +01:00
chrisandClaude Opus 5.5 1e4b13746e Add security patch php-8.1.34-xlts-2.patch.
Raw patch from omega8cc/boa (5.x-dev, aegir/patches/php-sec).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 18:50:34 +01:00
chrisandClaude Opus 5.5 06bea0b16f mod_php_install.sh: apply security patches for PHP 7.4.33.
Apply for PHP 7.4.33, in this order: cve-2026-109618-109619, sury-31,
xlts-1, xlts-2, sury-31-re2c-generated. All apply without fuzz, also
on top of PHP-7.4-OpenSSL-3.0-compatibility.patch. The generated files
are marked as up to date afterwards, as for 8.0.30 and 8.1.34.

Tested on web-05 (Debian 13): build, install and php-fpm start OK.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 18:47:38 +01:00
chrisandClaude Opus 5.5 6a3b03fd9f Add security patches for PHP 7.4.33.
Raw patches from omega8cc/boa (5.x-dev, aegir/patches/php-sec):

  php-7.4.33-cve-2026-109618-109619.patch
  php-7.4.33-sury-31.patch
  php-7.4.33-xlts-1.patch
  php-7.4.33-xlts-2.patch

php-7.4.33-sury-31-re2c-generated.patch (own patch) applies the
pdo_sql_parser.re and url_scanner_ex.re hunks of sury-31 to the
generated *.c files, so the fixes are built without re2c.
(ext/date/lib/parse_iso_intervals.c already contains the fix of the
parse_iso_intervals.re hunk.)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 18:47:37 +01:00
chrisandClaude Opus 5.5 f19ee454d1 mod_php_install.sh: apply security patches for PHP 8.0.30.
Generalize the PHP 8.1.34 patch block into a per-version patch list
and apply for PHP 8.0.30, in this order: cve-2026-109618-109619,
sury-25, xlts-1, xlts-2, sury-25-re2c-generated (CVE before sury,
otherwise hunk #4 of main/rfc1867.c fails). All apply without fuzz,
also on top of PHP-8.0-OpenSSL-3.0-compatibility.patch. The generated
files are marked as up to date afterwards, as for 8.1.34.

The HTML page check now only looks at the first non-empty line:
php-8.0.30-sury-25.patch contains "<html>" in test files.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 14:07:31 +01:00
chrisandClaude Opus 5.5 837decf4c0 Add security patches for PHP 8.0.30.
Raw patches from omega8cc/boa (5.x-dev, aegir/patches/php-sec):

  php-8.0.30-cve-2026-109618-109619.patch
  php-8.0.30-sury-25.patch
  php-8.0.30-xlts-1.patch
  php-8.0.30-xlts-2.patch   (19 November 2026 release, incl. GH-24046)

php-8.0.30-sury-25-re2c-generated.patch (own patch) applies the
pdo_sql_parser.re and url_scanner_ex.re hunks of sury-25 to the
generated *.c files, so the fixes are built without re2c.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 14:07:31 +01:00
chrisandClaude Opus 5.5 9ca1942a50 mod_php_install.sh: fix PHP 8.1.34 build after applying security patches.
The patches change sources of generated files (Zend/zend_vm_def.h,
*.re) together with the generated files. Patching left the sources
newer, so make re-ran zend_vm_gen.php with the host's php binary,
producing a broken Zend/zend_vm_opcodes.h ("operator '==' has no left
operand"). Touch the generated files after patching so they are taken
as up to date.

sury-9 changes pdo_sql_parser.re and url_scanner_ex.re without the
generated *.c files, so these fixes needed re2c to be built. Add
php-8.1.34-sury-9-re2c-generated.patch, which applies the same changes
to the generated *.c files.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 13:00:40 +01:00
chrisandClaude Opus 5.5 985d073613 mod_php_install.sh: apply security patches for PHP 8.1.34.
Apply php-8.1.34-cve-2026-109618-109619.patch, php-8.1.34-sury-9.patch
and php-8.1.34-cve-2026-129291.patch (in this order - otherwise a hunk
of main/rfc1867.c fails) when installing PHP 8.1.34. Abort if a patch
is missing, is an HTML page or does not apply.

Replace the three patch files, which were saved GitHub HTML pages, by
the raw patches from omega8cc/boa (aegir/patches/php-sec).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 12:52:08 +01:00
chris ed7e9a202c Add patches fpr PHP version 8.1 2026-11-20 12:39:55 +01:00
chrisandClaude Opus 5.5 6858b46155 Remove .claude/settings.json from repository and ignore it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 12:37:44 +01:00
chris a40be63dcd Add settings.json to define permissions for Bash commands 2026-11-15 15:34:40 +01:00
chrisandClaude Opus 5.5 3245050742 mod_php_install.sh: apply php2shell security patch for PHP 5.6.
Add 'php-5.6-enhanced-universal.patch' (CVE-2026-109618 / CVE-2026-109619 /
CVE-2026-115560). It is applied after the other php-5.6-*.patch files; on top
of 'php-5.6-session.patch' hunk #4 of ext/session/session.c applies with
fuzz 2, which is expected (verified with 5.6.40). A failure aborts the
installation.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 15:31:02 +01:00
Christoph fc3f537464 mod_php_install.sh: add buildcon command if necessary. 2026-10-21 20:51:03 +02:00
chris 3ee99d7ffa Add script 'config-php-fpm.sh' setting some parameters fpr tuning up php backend. 2026-07-01 14:08:55 +02:00
chris 622c2effb0 Merge branch 'master' of https://git.oopen.de/install/php 2026-07-01 13:59:00 +02:00
chris e6371187fe mod_php_install.sh: Adjust some parameters vor tuning up php bacvkend. 2026-07-01 13:58:15 +02:00
chris 59aabb3fc1 Add fix_ldap_ini.sh script to comment out 'extension=ldap.so' in PHP ini files 2026-07-01 13:47:28 +02:00
chris 36d9a3bc10 Merge branch 'master' of https://git.oopen.de/install/php 2026-05-01 23:36:47 +02:00
chris 51179f6d88 mod_php_install.sh: remove 'extension=ldap.so'. 2026-05-01 23:36:08 +02:00
chris 81a4edca47 mod_php_install.sh: fix compiler error on php 8.1 debian 13. 2026-04-28 14:56:25 +02:00
chris e549bffa55 mod_php_install.sh: in der PHP-CLI-Konfiguration validate_timestamps einschalten - 'opcache.validate_timestamps=1'. 2026-04-10 11:11:52 +02:00
chris 94f54ec594 Merge branch 'master' of git.oopen.de:install/php 2026-03-27 15:44:28 +01:00
chris 9446459840 mod_php_install.sh: fix spacing issue in man.conf conditional check 2026-03-27 15:44:22 +01:00
chris a5a4a18749 mod_php_install.sh: fix error aktivating opcache on php version 8.5 (and greater?) 2026-03-27 11:09:46 +01:00
chris 4b2d7262c6 Add patch files for php 5.6 installation. 2026-03-10 23:45:13 +01:00
chris cf814e9adf mod_php_install.sh: add support for php 8.0 on debian 13 systems. 2026-03-05 14:21:51 +01:00
chris 90bf4da168 mod_php_install.sh: some changes to support php 7.4 and other changes. 2026-03-05 01:57:18 +01:00
chris 221371c23b remove 'install-php56.sh'. 2026-03-04 15:23:50 +01:00
chris 918dcc2912 mod_php_install.sh: Simplify if then else clauses. 2026-03-04 15:23:26 +01:00
chris 6ddcf9154a Add support for version 5.6 on debian 13 . 2026-03-04 12:40:38 +01:00
chris eea51922cf mod_php_install.sh: fix list of required compiler packages. 2026-01-23 13:35:56 +01:00
chris 6c5907b733 organize required debain packages 2026-01-23 10:44:43 +01:00
chris cc95df6201 mod_php_install.sh: make the PECL installation of 'imap' a little more robust. 2026-01-23 00:55:20 +01:00
chris 72b07de2d9 mod_php_install.sh: install pecl imap extension, if '/usr/local/imap/lib/libc-client.a' is present. 2026-01-23 00:28:07 +01:00
chris fc1cf962bd mod_php_install.sh: add channel update for 'pear.php.net' befor installing pear extensions. 2026-01-10 01:53:07 +01:00
chris e062c4cb79 mod_php_install.sh: instll peck plugin imap also if debian package 'libc-client2007f-dev' ist installed. 2025-12-25 18:16:25 +01:00
chris b854d10517 fix error installing imap pecl plugin. 2025-12-24 01:57:08 +01:00
chris cbbcdf429c mod_php_install.sh: add support for debian 13 (trixie). 2025-12-15 01:20:35 +01:00
chris a019d35520 mod_php-5.3_debian-9_install.sh,mod_php-5.4_debian-9_install.sh: fix Systemd support if debian version 13 or newer. 2025-12-15 01:19:28 +01:00
chris 7ef0f03346 mod_php_install.sh: imap extension is moved to PECL since version 8.4 2025-11-28 01:50:51 +01:00
chris c9659f15c9 Add 'DOC/README.install-openssl-1.1.1'. 2024-06-28 10:15:22 +02:00
chris ec717642fc mod_php_install.sh: set default max_execution_time to 360s. 2024-05-06 00:37:06 +02:00
chris 0d94d23fe3 mod_php_install.sh: add timeout parameter. 2024-04-26 00:24:40 +02:00
chris f9f247aa1d mod_php_install.sh: change DEFAULT_FPM_POOL_MAX_CHILDREN to 256. 2024-04-21 16:08:02 +02:00
chris 4d545d07ce mod_php_install.sh: incease DEFAULT_OPCACHE_INTERNED_STRINGS_BUFFER to '48'. 2024-02-14 17:06:07 +01:00
chris dae3f913bb mod_php_install.sh: show existing FPM pool definitions in summary. 2024-01-03 14:11:09 +01:00
chris 7b17ac342a mod_php_install.sh: finish support fo debian 12 (bookworm). 2023-10-26 21:26:39 +02:00
chris 3959e37839 mod_php_install.sh: add support for version 7.1 at debian 12 (bookworm). 2023-10-25 02:27:38 +02:00
chris 7addd36d29 mod_php_install.sh: fix error installing python 2.7 2023-10-25 00:50:13 +02:00