Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

davy_yg's avatar
Level 27

PHP 7.4 on Win 11

Hello,

I wonder why I cannot run old XAMPP in Win 11 ? All my software are below PHP 8.0

I thought I could install Win 11 and still run my old XAMPP as well.

0 likes
9 replies
jlrdw's avatar

Php 7.4 does run in windows 11. Check that you setup all correctly.

1 like
davy_yg's avatar
Level 27

Thanks the installation works well. Yet, when I checked it:

	F:\xampp77>php -v
	PHP 8.0.18 (cli) (built: Apr 13 2022 07:46:40) ( ZTS Visual C++ 2019 x64 )
	Copyright (c) The PHP Group
	Zend Engine v4.0.18, Copyright (c) Zend Technologies

	F:\xampp77>cd/

	F:\>cd xampp80

	F:\xampp80>php -v
	PHP 8.0.18 (cli) (built: Apr 13 2022 07:46:40) ( ZTS Visual C++ 2019 x64 )
	Copyright (c) The PHP Group
	Zend Engine v4.0.18, Copyright (c) Zend Technologies

xampp77 suppose to be php 7.4.16 whereas xampp80 suppose to be php 8.0

Why all of them shows php 8.0 ?

jlrdw's avatar

I have never heard of xampp77. There is xampp.

1 like
davy_yg's avatar
Level 27

@jlrdw It's just the way I named my xampp because they are suppose to be different version. Sometimes when I installed a new xampp because the old one shows error, I named the new one with different named.

chiefguru's avatar

@davy_yg try the obvious thing and have a look at your Windows PATH it's probably has your PHP8 version of XAMPP in there.

@jlrdw apologies replied to you by mistake.

1 like
davy_yg's avatar
davy_yg
OP
Best Answer
Level 27

Solved this one. I uninstalled all my existing XAMPP and then reinstalled XAMPP only for PHP 7.4

Please or to participate in this conversation.