# Bin/console does not work

**URL:** https://forum.shopware.com/t/bin-console-does-not-work/108787
**Category:** General Questions (EN)
**Created:** [23. März 2026 um 13:36 UTC](https://forum.shopware.com/t/bin-console-does-not-work/108787 "2026-03-23T13:36:39Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![ruoying.liang](https://avatars.discourse-cdn.com/v4/letter/r/f07891/32.png) [@ruoying.liang](https://forum.shopware.com/u/ruoying.liang)
#### Post date: [23. März 2026 um 13:36 UTC](https://forum.shopware.com/t/bin-console-does-not-work/108787/1 "2026-03-23T13:36:39Z")

</div>

Hello,

i’m new and hope to get some help here.

I am following the learning path “Introduction for developers“ and installed shopware 6 (docker, Ubuntu, WSL). I came to the chapter “App Development“ and issued “bin/console app:create“.

Firstly php was missing, so i installed PHP-cli. (php -v, PHP 8.3.6(cli) ) Now it threw following error when i use bin/console:

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/3X/1/e/1e3e304f5efdd3f941c7d8dd7d84a6ff93c66db6.png)

How to solve this?

Thanks

Ying

---

<div class="post-metadata">

### Author: ![Max\_Shop](https://avatars.discourse-cdn.com/v4/letter/m/58f4c7/32.png) [@Max\_Shop](https://forum.shopware.com/u/Max_Shop)
#### Post date: [23. März 2026 um 14:02 UTC](https://forum.shopware.com/t/bin-console-does-not-work/108787/2 "2026-03-23T14:02:39Z")

</div>

You might have not installed the necessary PHP extension.

`php -m | grep mbstring`

---

<div class="post-metadata">

### Author: ![ruoying.liang](https://avatars.discourse-cdn.com/v4/letter/r/f07891/32.png) [@ruoying.liang](https://forum.shopware.com/u/ruoying.liang)
#### Post date: [30. März 2026 um 10:19 UTC](https://forum.shopware.com/t/bin-console-does-not-work/108787/3 "2026-03-30T10:19:42Z")

</div>

Thanks! It helped. Afterwards i also installed mysql and xml extensions.

Now i got another error when issuing bin/console app:create:

Warning: Failed to load plugins Error message: An exception occurred in the driver: SQLSTATE[HY000] [2002] No such file or directory  
Symfony\Component\ErrorHandler\Error\ClassNotFoundError^ {#1039  
#message: „“"  
Attempted to load class „Normalizer“ from the global namespace.\n  
Did you forget a „use“ statement?  
„“"  
#code: 0  
#file: „./vendor/symfony/string/AbstractUnicodeString.php“  
#line: 31  
trace: {  
./vendor/symfony/string/AbstractUnicodeString.php:31 { …}  
./vendor/symfony/console/Helper/Helper.php:84 { …}  
./vendor/symfony/console/Formatter/OutputFormatter.php:165 { …}  
./vendor/symfony/console/Formatter/OutputFormatter.php:117 { …}  
…  
}  
}

I couldn’t figure out what is missing here. My Shopware was installed by following the tutorial video „Installing Shopware on Windows using WSL and docker“ in learning path “Shopware Introduction for developers“.

---

<div class="post-metadata">

### Author: ![Max\_Shop](https://avatars.discourse-cdn.com/v4/letter/m/58f4c7/32.png) [@Max\_Shop](https://forum.shopware.com/u/Max_Shop)
#### Post date: [30. März 2026 um 13:13 UTC](https://forum.shopware.com/t/bin-console-does-not-work/108787/4 "2026-03-30T13:13:53Z")

</div>

Here you can see all the extensions that are necessary.

> **[Hosting | Shopware Documentation](https://developer.shopware.com/docs/guides/hosting/)**
>
> Documentation for Shopware developers

---

<div class="post-metadata">

### Author: ![ruoying.liang](https://avatars.discourse-cdn.com/v4/letter/r/f07891/32.png) [@ruoying.liang](https://forum.shopware.com/u/ruoying.liang)
#### Post date: [13. April 2026 um 12:09 UTC](https://forum.shopware.com/t/bin-console-does-not-work/108787/5 "2026-04-13T12:09:39Z")

</div>

Thanks! This helped a lot.

---

<div class="post-metadata">

### Author: ![system](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/3X/2/9/29c7587ba660f00e4995d1743162782e5d6d8653.svg) [@system](https://forum.shopware.com/u/system)
#### Post date: [13. Mai 2026 um 12:10 UTC](https://forum.shopware.com/t/bin-console-does-not-work/108787/6 "2026-05-13T12:10:08Z")

</div>

Dieses Thema wurde automatisch 30 Tage nach der letzten Antwort geschlossen. Es sind keine neuen Antworten mehr erlaubt.
