Symfony 5 Installation on Windows 10 keeps running old version

本小妞迷上赌 提交于 2020-01-17 23:55:44

问题


I downloaded and ran "setup.exe" from https://symfony.com/download. Installation seemed to run well.

Calling

symfony --version

results in

Symfony Installer version 1.5.11

There might be installed an old Symfony version on the system - however I cant find any hint on where it actualy runs the old exectuable from (nothing obvious in System Path). Also - shouldn't this installer just update the symfony version running?

If I download the current symfony exectuable "symfony_windows_amd64.exe" from the same page as stated at the top and run

[pathToExecutable]/symfony_windows_amd64.exe -V

it states

Symfony CLI version v4.12.0 (Tue Jan  7 16:14:26 CET 2020)

which I expect to happen when just running "symfony".


回答1:


Like @Jean states the CLI and the installer are different things. calling "symfony" is different from calling "symfony.exe". That's all.



来源:https://stackoverflow.com/questions/59642946/symfony-5-installation-on-windows-10-keeps-running-old-version

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!