Answers.Body: <p>My guess is you're running PHP 7.4.0.  I could reproduce it on 7.4.0 on Windows, but when I updated to PHP 7.4.2, the issue went away.</p>
  
  <p>This appears to be a PHP 7.4.0 bug on Windows as evidenced by this Github issue for Yii: <a href="https://github.com/yiisoft/yii2/issues/17782" rel="nofollow noreferrer">https://github.com/yiisoft/yii2/issues/17782</a></p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-01-30T05:01:03.747Z
Answers.LastActivityDate: 2020-01-30T05:01:03.747Z
Answers.UserDisplayName: Brad Bell
Body: <p>I have been trying to install Craft CMS on Windows.</p>
  
  <p>I tried composer:</p>
  
  <pre><code>composer create-project craftcms/craft d:\temp\craft
  </code></pre>
  
  <p>After that when I try to <code>craft setup</code> there is a loop on the console which doesn't end.</p>
  
  <p><a href="https://i.sstatic.net/mBkCz.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/mBkCz.png" alt="craft/setup screenshot"></a></p>
  
  <p>When I try to run <code>craft install</code> the same thing happens, a loop but different text!</p>
  
  <p><a href="https://i.sstatic.net/ULj4e.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/ULj4e.png" alt="craft/install screenshot"></a></p>
  
  <p>Thanks</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-01-30T00:47:13.147Z
Comments.Text: This appears to be a bug in the latest version of Craft on Windows. Will look into it and let you know.
Comments.UserDisplayName: Brad Bell
Tags: <craft3><composer>
Title: Weird issue with craft/setup command
ThreadText: # Weird issue with craft/setup command
  
  (Asked by: username_0 on 2020-01-27)
  
  I have been trying to install Craft CMS on Windows.
  
  I tried composer:
  
  ```
  composer create-project craftcms/craft d:\temp\craft
  
  ```
  
  After that when I try to `craft setup` there is a loop on the console which doesn't end.
  
  [![craft/setup screenshot](https://i.sstatic.net/mBkCz.png)](https://i.sstatic.net/mBkCz.png)
  
  When I try to run `craft install` the same thing happens, a loop but different text!
  
  [![craft/install screenshot](https://i.sstatic.net/ULj4e.png)](https://i.sstatic.net/ULj4e.png)
  
  Thanks
  
  **Tags:** craft3, composer
  
  > **Comments:**
  > **username_1**: This appears to be a bug in the latest version of Craft on Windows. Will look into it and let you know.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2020-01-30. Score: 1
  
  My guess is you're running PHP 7.4.0. I could reproduce it on 7.4.0 on Windows, but when I updated to PHP 7.4.2, the issue went away.
  
  This appears to be a PHP 7.4.0 bug on Windows as evidenced by this Github issue for Yii: <https://github.com/yiisoft/yii2/issues/17782>
  
  
  ---
  
  