Page 1 of 1

Time to update XAMPP - PHP 8.3

PostPosted: 24. November 2023 14:14
by randomName
Hello,

There are several components that should be updated, especially Apache2 and PHP (Latest 8.3.0 released).

Please update.

Thanks.

Re: Time to update XAMPP - PHP 8.3

PostPosted: 24. November 2023 20:01
by pmhegarty
Agreed. Also Mariadb is very out of date missing functionality particular json features from version 10.6 although 11 is already out.

Re: Time to update XAMPP - PHP 8.3

PostPosted: 25. November 2023 09:20
by Beltran
There was a new release last week with latest PHP and Apache versions. Unfortunately PHP 8.3 was not available at that time and it was released a day ago.
The MariaDB database was also updated to the latest 10.4 stable version.

Any contributions will be welcome at https://github.com/ApacheFriends/xampp-build Thanks!

Re: Time to update XAMPP - PHP 8.3

PostPosted: 01. January 2024 13:50
by michibinder-isanhuso
i hope that cmd => winget upgrade ApacheFriends.Xampp.X.X will be updated too.

Re: Time to update XAMPP - PHP 8.3

PostPosted: 02. January 2024 19:07
by an4zFX8
I would like to add that a PHP 8.3 XAMPP version would help my team.

We are waiting to upgrade XAMPP first then production.

Re: Time to update XAMPP - PHP 8.3

PostPosted: 09. February 2024 18:20
by TomXampp
Any word on when XAMPP with PHP 8.3 will be released?

Re: Time to update XAMPP - PHP 8.3

PostPosted: 11. March 2024 17:47
by ubuntuxampp
I'm also waiting for XAMPP with PHP 8.3 - please make it happen :)

Re: Time to update XAMPP - PHP 8.3

PostPosted: 13. March 2024 15:39
by Onion
Same, there are many components that should be updated to the latest stable version. Hope an update will be released really soon.

Re: Time to update XAMPP - PHP 8.3

PostPosted: 02. April 2024 17:11
by mahyarsbt
Hello everyone,

I had to use PHP 8.3 due to force majeure... That's why I updated it myself on XAMPP (i have Xampp 8.2.12), because it is not known how long it will take to prepare the new version with PHP 8.3.

How to run custom version of PHP on XAMPP

I am sharing the method here so that if anyone needs to use PHP 8.3 quickly, you can try updating XAMPP by manually replacing the PHP version with a newer one:

Step 1
Before making any changes, it's always a good idea to backup your important files and databases to avoid data loss.

Step 2
Make sure XAMPP is not running. You can stop the Apache and MySQL services from the XAMPP Control Panel.

Step 3
Go to the XAMPP installation directory and navigate to the php folder. Rename the existing php folder to something like php_backup.

Step 4
Visit the official PHP website (https://windows.php.net/download#php-8.3) and download the Windows version of PHP 8.3.4 (Current).

Xampp using Thread Safe version so we have to download VS16 x64 Thread Safe (2024-Mar-13 12:02:32)
This is direct link to download:
https://windows.php.net/downloads/releases/php-8.3.4-Win32-vs16-x64.zip

Step 5
Then, copy the contents of the PHP 8.3.4 folder that you downloaded into the XAMPP php folder.

Step 6
Create new folder inside php folder and name it "windowsXamppPhp" for example you have c:\xampp\php\windowsXamppPhp path and copy again the contents of the PHP 8.3.4 into the windowsXamppPhp folder too (I do not know why! But xampp does it so I did just to make sure).

Step 7
I also copied other folders and files from php_backup to the php folder which were now missing in the downloaded php 8.3.4, which are:
cfg
CompatInfo
data
docs
man
pear
scripts
tests
tmp
www
CompatInfo.php
webdriver-test-example.php

Step 8
Now we need php.ini file!
Duplicate "php.ini-development" in php root folder and rename it "php.ini"

Personally, I used the online comparison tool to make the PHP configuration the same as XAMPP, so that I could compare the new php.ini file with the old one in php_backup faster and better and make sure you enabled desire php extension such as mysqli, gd, pdo_mysql, pdo_sqlite ...

Step 9
Now you can start the Apache and MySQL services from the XAMPP Control Panel.

Check http://localhost/dashboard/phpinfo.php

I hope this helps :)

Re: Time to update XAMPP - PHP 8.3

PostPosted: 02. April 2024 18:59
by Altrea
Hi mahyarsbt,

Thanks for all the time and effort you put into this.
Step 6 is unnecessary and many of the files and folders of Step 7 too. These are relicts from old builds and errors in the building process of the Windows version.

Re: Time to update XAMPP - PHP 8.3

PostPosted: 05. April 2024 12:45
by Onion
@mahyarsbt Thats for PHP 8.3.4, thanks, very helpful! But what about other components? Like how to create my own XAMPP build with all latest components? (Like apache 2.4.59 etc.)

Re: Time to update XAMPP - PHP 8.3

PostPosted: 05. April 2024 12:51
by Altrea
Onion wrote:@mahyarsbt Thats for PHP 8.3.4, thanks, very helpful! But what about other components? Like how to create my own XAMPP build with all latest components? (Like apache 2.4.59 etc.)

XAMPP is build by this open source build script: https://github.com/ApacheFriends/xampp-build

Re: Time to update XAMPP - PHP 8.3

PostPosted: 25. April 2024 11:49
by Onion
yes but its not clear how to build a new xampp version on windows with updated components. Where to change components version? Where to get right links? How to build the installer etc.?