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

Hi,
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?
olyly94
 
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

Hi,

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,
Altrea
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

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

Re: Which version of php?

Postby Nobbie » 25. September 2018 10:31

Enter

Code: Select all
where php


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


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 127 guests