Which version of php?

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Which version of php?

Postby olyly94 » 25. September 2018 07:45

When I run the phpinfo script through the localhost/phpinfo.php it tells me that i am using 7.1.11 but when i type php --version at the cmd line it tells me that i am using 5.6.21. I am trying to install symfony 4 and this 5.6.21 seems to be a problem. Can anyone advise?
Posts: 1
Joined: 25. September 2018 07:41
XAMPP version: 5.5.37
Operating System: WINDOWS

Re: Which version of php?

Postby Altrea » 25. September 2018 09:48


There must be a different version of PHP be installed on your system.
Please take a look into your system PATH environment variable for PHP bin folders.
XAMPP did not use or set any PATH variables.

Best wishes,
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
AF Moderator
Posts: 9735
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64

Re: Which version of php?

Postby Nobbie » 25. September 2018 10:31


Code: Select all
where php

in a terminal, it shows you the full path of php.exe and where it is stored.
Posts: 11044
Joined: 09. March 2008 13:04

Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 40 guests