教义在Symfony中自动中止 [英] Doctrines automatically aborted in Symfony
问题描述
我目前正在关注Leanna Pelham和Ryan Weaver的symfony教程,很快我遇到了一些问题。我正在使用 doctrine:generate命令(包括实体和粗体)进行挣扎。
主义:generate:entity
当我输入 php app / console doctrine:generate:crud时会发生这种情况:
主义:generate:crud
我试图用Google搜索它,但找不到任何东西。首先,我认为一个按钮被卡住了,这就是导致该按钮自动中止的原因,但是我不确定。如果有人可以帮助我,我将不胜感激。
问题出在PHP版本中。只需替换开发平台中目录中的所有文件: C:\wamp64\bin\php\php7.4.0 (我使用 wampserver )和最新版本的PHP。
I am currently following the symfony-tutorials of Leanna Pelham and Ryan Weaver, and i quickly ran into some problems. I am struggling with the "doctrine:generate" commands, both entities and cruds.
This happens when I type in "php app/console doctrine:generate:entity": doctrine:generate:entity
This happens when I type in "php app/console doctrine:generate:crud": doctrine:generate:crud
I have tried to google this, but couldn't find anything. First i thought a button was jammed up, and that's what caused it to automatically abort, but I am not sure. I would really appreciate if anybody could help me.
The problem is in the PHP version. Just replace all the files in the directory: C:\wamp64\bin\php\php7.4.0 in your development platform (I use wampserver in my case) with a more recent version of PHP.
这篇关于教义在Symfony中自动中止的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!