Skip to content

Commit

Permalink
ApacheFriends#35 Add support for PHP 8.3
Browse files Browse the repository at this point in the history
  • Loading branch information
skmedix committed Jul 7, 2024
1 parent 7e7b0c0 commit eb138df
Show file tree
Hide file tree
Showing 12 changed files with 240 additions and 17 deletions.
11 changes: 11 additions & 0 deletions apps/xampp/RELEASENOTES-83-linux-x64
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

[2023-11-25] XAMPP for Linux 8.3.9-0
This version of XAMPP contains the following software releases:
- Apache 2.4.58
- MariaDB 10.4.32
- OpenSSL 1.1.1w
- PHP 8.3.9
- phpMyAdmin 5.2.1

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
10 changes: 10 additions & 0 deletions apps/xampp/RELEASENOTES-83-osx-x64
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
[2023-04-08] XAMPP for OS X 8.2.4-0
This version of XAMPP contains the following software releases:
- Apache 2.4.56
- MariaDB 10.4.28
- OpenSSL 1.1.1t
- PHP 8.3.9
- phpMyAdmin 5.2.1

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
13 changes: 13 additions & 0 deletions apps/xampp/RELEASENOTES-83-windows-x64
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

[2023-11-19] XAMPP for Windows 8.2.12-0
This version of XAMPP contains the following software releases:
- Apache 2.4.58
- MariaDB 10.4.32
- OpenSSL 3.1.3
- PHP 8.3.9
- phpMyAdmin 5.2.1
- Tomcat 8.5.96
- curl 8.4.0_6

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
4 changes: 0 additions & 4 deletions metadata/components/general.ini
Original file line number Diff line number Diff line change
Expand Up @@ -944,10 +944,6 @@ licenses=LGPL
download_url=http://ftp.gnu.org/gnu/gettext
license_notes=https://www.gnu.org/software/gettext/manual/html_node/Licenses.html

[php_ext_postgresql]
licenses=PHP
download_url=http://pecl.php.net/package/PDO_PGSQL

[modsecurity-apache]
ohloh_id=modsecurity
name=modsecurity-apache
Expand Down
11 changes: 11 additions & 0 deletions metadata/versions/base_tarballs.ini
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,14 @@ default=xampp82-@@target@@-20231125
linux-x64=xampp82-linux-x64-20231125
osx-x64=xampp82-osx-x64-20230406

[XamppInstallerPhp83Stack]
default=

[XamppInstaller83Stack]
default=xampp83-@@target@@-20240702
linux-x64=xampp83-linux-x64-20240702
osx-x64=xampp83-osx-x64-20240702

[XamppPortableInstallerStack]
default=

Expand All @@ -51,3 +59,6 @@ default=

[XamppPortableInstallerPhp82Stack]
default=

[XamppPortableInstallerPhp83Stack]
default=
1 change: 1 addition & 0 deletions metadata/versions/revisions.ini
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@
80=0
81=0
82=0
83=0
1 change: 1 addition & 0 deletions metadata/versions/versions.ini
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ portable=5.32.1.1
80=8.0.30
81=8.1.25
82=8.2.12
83=8.3.9
#
# Servers
#
Expand Down
11 changes: 11 additions & 0 deletions src/php.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,17 @@ proc pearProgram {name args} {
}
}

::itcl::class php83WindowsX64 {
inherit phpWindowsX64
constructor {environment} {
chain $environment
} {
set version [versions::get "PHP" 83]
set tarballName php-${version}-Win32-VS16-x64
set includePear 1
}
}

::itcl::class Archive_Tar {
inherit pearprogram

Expand Down
14 changes: 14 additions & 0 deletions src/xampp-components.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -2538,6 +2538,7 @@ $cfg['Servers'][$i]['favorite'] = 'pma__favorite';} \
8.0 - 80 { return [versions::get "PHP" 80] }
8.1 - 81 { return [versions::get "PHP" 81] }
8.2 - 82 { return [versions::get "PHP" 82] }
8.3 - 83 { return [versions::get "PHP" 83] }
}
}

Expand All @@ -2547,6 +2548,7 @@ $cfg['Servers'][$i]['favorite'] = 'pma__favorite';} \
8.0 - 80 { return [revisions::get "xamppstack" 80] }
8.1 - 81 { return [revisions::get "xamppstack" 81] }
8.2 - 82 { return [revisions::get "xamppstack" 82] }
8.3 - 83 { return [revisions::get "xamppstack" 83] }
}
}
public method configureOptions {} {
Expand Down Expand Up @@ -2762,4 +2764,16 @@ $cfg['Servers'][$i]['favorite'] = 'pma__favorite';} \
}
}
}
::itcl::class php83 {
inherit php
constructor {environment} {
chain $environment
} {
set vtrackerName XAMPP83
set version [::xampp::php::getXAMPPVersion 83]
if {[string match osx* [$be cget -target]]} {
set patchList {fix-opcache-support-php-8.OS-X.patch}
}
}
}
}
65 changes: 60 additions & 5 deletions src/xamppstacks.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,15 @@
}
}

::itcl::class linuxXamppInstaller83Stack {
inherit linuxXamppInstaller82Stack
constructor {environment} {
chain $environment
} {
replaceComponent ::xampp::php82 ::xampp::php83
}
}

::itcl::class linux64XamppInstallerStack {
inherit linuxXamppInstallerStack
constructor {environment} {
Expand Down Expand Up @@ -214,6 +223,13 @@
} {
}
}
::itcl::class linux64XamppInstaller83Stack {
inherit linuxXamppInstaller83Stack
constructor {environment} {
chain $environment
} {
}
}
::itcl::class osx64XamppInstallerStack {
inherit linuxXamppInstallerStack
constructor {environment} {
Expand Down Expand Up @@ -325,6 +341,14 @@
replaceComponent ::xampp::php81 ::xampp::php82
}
}
::itcl::class osx64XamppInstaller83Stack {
inherit osx64XamppInstaller82Stack
constructor {environment} {
chain $environment
} {
replaceComponent ::xampp::php82 ::xampp::php83
}
}
# XAMPP Installer - standard version
::itcl::class xamppinstallerstack {
inherit product
Expand Down Expand Up @@ -440,6 +464,20 @@
return XamppInstallerPhp80Stack
}
}
::itcl::class xamppinstaller81stack {
inherit xamppinstallerstack
constructor {environment} {
chain $environment
set version [::xampp::php::getXAMPPVersion 81]
set rev [::xampp::php::getXAMPPRevision 81]
set application ::xampp::php81
set xampp_vcredist_name VS16
} {
}
public method getBaseNameForPlatform {} {
return XamppInstallerPhp81Stack
}
}
::itcl::class xamppinstaller82stack {
inherit xamppinstallerstack
constructor {environment} {
Expand All @@ -454,18 +492,18 @@
return XamppInstallerPhp82Stack
}
}
::itcl::class xamppinstaller81stack {
::itcl::class xamppinstaller83stack {
inherit xamppinstallerstack
constructor {environment} {
chain $environment
set version [::xampp::php::getXAMPPVersion 81]
set rev [::xampp::php::getXAMPPRevision 81]
set application ::xampp::php81
set version [::xampp::php::getXAMPPVersion 83]
set rev [::xampp::php::getXAMPPRevision 83]
set application ::xampp::php83
set xampp_vcredist_name VS16
} {
}
public method getBaseNameForPlatform {} {
return XamppInstallerPhp81Stack
return XamppInstallerPhp83Stack
}
}

Expand Down Expand Up @@ -850,6 +888,23 @@
return xamppinstallerphp82
}
}
::itcl::class xamppportableinstaller83stack {
inherit xamppportableinstallerstack
constructor {environment} {
chain $environment
set version [::xampp::php::getXAMPPVersion 83]
set rev [::xampp::php::getXAMPPRevision 83]
set application ::xampp::php83
set xampp_vcredist_name VS16
} {
}
public method getBaseNameForPlatform {} {
return XamppPortableInstallerPhp83Stack
}
public method confFileName {} {
return xamppinstallerphp83
}
}
::itcl::class xampp {
inherit phpBitnamiProgram
constructor {environment} {
Expand Down
21 changes: 21 additions & 0 deletions src/xamppwindows.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -1232,6 +1232,17 @@ mssql.secure_connection=Off"
}
}

::itcl::class windowsXamppStandardPhp83 {
inherit windowsXamppStandardPhp7
constructor {environment} {
chain $environment
set version [::xampp::php::getXAMPPVersion 83]
set rev [::xampp::php::getXAMPPRevision 83]
set xampp_vcredist_name VS16
} {
}
}

::itcl::class windowsXamppPortable {
inherit windowsXamppComponent
protected variable rev 0
Expand Down Expand Up @@ -1404,6 +1415,16 @@ mssql.secure_connection=Off"
}
}

::itcl::class windowsXamppPortablePhp83 {
inherit windowsXamppPortablePhp8
constructor {environment} {
chain $environment
set version [::xampp::php::getXAMPPVersion 83]
set rev [::xampp::php::getXAMPPRevision 83]
} {
}
}

::itcl::class windowsXamppInstallerStack {
inherit stack
constructor {environment} {
Expand Down
Loading

0 comments on commit eb138df

Please sign in to comment.