Installing Yii2 Not Working

check this

Do you have the the PHP directory in your Windows 10 environment’s PATH statement.

The PATH also needs to be updated when you switch to alternate PHP versions. Unlike XAMPP and other AMP stacks, WAMP64 does not handle this automatically during installation.

Hello,
Have you tried installing this on Cloud server? I was surfing to install yii2 on cloud and fortunately found some productive link.