<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>

CC BY-SA 4.0
2020-01-30T05:01:03.747Z
2020-01-30T05:01:03.747Z
Brad Bell
<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>

CC BY-SA 4.0
2020-01-30T00:47:13.147Z
This appears to be a bug in the latest version of Craft on Windows. Will look into it and let you know.
Brad Bell
<craft3><composer>
Weird issue with craft/setup command
# 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.

When I try to run craft install the same thing happens, a loop but different text!

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>


---

