Windows 10上的Symfony 5安装保持运行旧版本 [英] Symfony 5 Installation on Windows 10 keeps running old version
问题描述
我从 https://symfony.com/download 下载并运行了"setup.exe". 安装似乎运行良好.
I downloaded and ran "setup.exe" from https://symfony.com/download. Installation seemed to run well.
通话
symfony --version
产生
Symfony Installer version 1.5.11
系统上可能安装了旧的Symfony版本-但是我找不到关于它实际在何处运行旧exectuable的任何提示(在System Path中没有明显显示). 另外-这个安装程序不应该只是更新运行的symfony版本吗?
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?
如果我从顶部所述的同一页面下载当前的symfony可执行文件"symfony_windows_amd64.exe"并运行
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
它说明
Symfony CLI version v4.12.0 (Tue Jan 7 16:14:26 CET 2020)
我希望仅在运行"symfony"时会发生这种情况.
which I expect to happen when just running "symfony".
推荐答案
就像@Jean指出CLI和安装程序是不同的. 调用"symfony"与调用"symfony.exe"不同.就是这样.
Like @Jean states the CLI and the installer are different things. calling "symfony" is different from calling "symfony.exe". That's all.
这篇关于Windows 10上的Symfony 5安装保持运行旧版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!