Page 1 of 1

Which version of php?

PostPosted: 25. September 2018 07:45
by olyly94
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?

Re: Which version of php?

PostPosted: 25. September 2018 09:48
by Altrea
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

Re: Which version of php?

PostPosted: 25. September 2018 10:31
by Nobbie
Enter

Code: Select all
where php


in a terminal, it shows you the full path of php.exe and where it is stored.