# https://github.com/shopwareLabs/shopware-docker - VPS Installation Fehler - /usr/bin/env: ‘php’: No

**URL:** <https://forum.shopware.com/t/https-github-com-shopwarelabs-shopware-docker-vps-installation-fehler-usr-bin-env-php-no/51551>\
**Category:** Installation/Einstieg\
**Created:** [5. März 2018 um 13:23 UTC](https://forum.shopware.com/t/https-github-com-shopwarelabs-shopware-docker-vps-installation-fehler-usr-bin-env-php-no/51551 "2018-03-05T13:23:17Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![ppeter](https://avatars.discourse-cdn.com/v4/letter/p/c0e974/32.png) [@ppeter](https://forum.shopware.com/u/ppeter)\
**Post date:** [5. März 2018 um 13:23 UTC](https://forum.shopware.com/t/https-github-com-shopwarelabs-shopware-docker-vps-installation-fehler-usr-bin-env-php-no/51551/1 "2018-03-05T13:23:17Z")

</div>

Hallo!

hab via VPS eine docker installation auf ubuntu gemacht

mit dieser Anleitung

[https://github.com/shopwareLabs/shopware-docker](https://github.com/shopwareLabs/shopware-docker)

nach

```
$ git clone https://github.com/shopwareLabs/shopware-docker
$ cd shopware-docker

```

hab ich beim ausführen

```
$ ./psh.phar docker:start

```

folgenden Fehler erhalten:

/usr/bin/env: ‘php’: No such file or directory

wie kann ich diese php funktion nachinstallieren?

oder wie kann ich ihn beheben?

danke

lg

Peter Polz

---

<div class="post-metadata">

**Author:** ![hsoebbing](https://avatars.discourse-cdn.com/v4/letter/h/898d66/32.png) [@hsoebbing](https://forum.shopware.com/u/hsoebbing)\
**Post date:** [5. März 2018 um 13:32 UTC](https://forum.shopware.com/t/https-github-com-shopwarelabs-shopware-docker-vps-installation-fehler-usr-bin-env-php-no/51551/2 "2018-03-05T13:32:06Z")

</div>

Versuche mal einfach _php -v_ in die Konsole einzugeben. Das sollte eine Ausgabe ähnlich wie

> $ php -v  
> PHP 7.2.3 (cli) (built: Mar &nbsp;2 2018 15:48:10) ( NTS )  
> Copyright (c) 1997-2018 The PHP Group  
> Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies  
> &nbsp; &nbsp; with Zend OPcache v7.2.3, Copyright (c) 1999-2018, by Zend Technologies

erzeugen.

Wenn statt dessen eine Fehlermeldung wie „php not found“ erscheint musst Du das Paket _php-cli_ Deiner Linux-Distribution nachinstallieren.

Edit: Habe gerade erst gelesen dass Du Ubuntu nutzt, das müsste dann sowas sein wie: _sudo apt install php-cli_

---

<div class="post-metadata">

**Author:** ![ppeter](https://avatars.discourse-cdn.com/v4/letter/p/c0e974/32.png) [@ppeter](https://forum.shopware.com/u/ppeter)\
**Post date:** [5. März 2018 um 13:45 UTC](https://forum.shopware.com/t/https-github-com-shopwarelabs-shopware-docker-vps-installation-fehler-usr-bin-env-php-no/51551/3 "2018-03-05T13:45:56Z")

</div>

hallo!  
&nbsp;

danke ja folgendes

&nbsp;

root@vps18066:~/shopware-docker/shopware-docker# php -v

The program ‘php’ can be found in the following packages:

&nbsp;\* php7.0-cli

&nbsp;\* hhvm

Try: apt install

root@vps18066:~/shopware-docker/shopware-docker#&nbsp;

&nbsp;

&nbsp;

.)  
Peter

---

<div class="post-metadata">

**Author:** ![hsoebbing](https://avatars.discourse-cdn.com/v4/letter/h/898d66/32.png) [@hsoebbing](https://forum.shopware.com/u/hsoebbing)\
**Post date:** [5. März 2018 um 13:52 UTC](https://forum.shopware.com/t/https-github-com-shopwarelabs-shopware-docker-vps-installation-fehler-usr-bin-env-php-no/51551/4 "2018-03-05T13:52:39Z")

</div>

Ok, dann sollte ein _apt install php7.0-cli_ später eigentlich alles laufen. 🙂

---

<div class="post-metadata">

**Author:** ![ppeter](https://avatars.discourse-cdn.com/v4/letter/p/c0e974/32.png) [@ppeter](https://forum.shopware.com/u/ppeter)\
**Post date:** [5. März 2018 um 13:54 UTC](https://forum.shopware.com/t/https-github-com-shopwarelabs-shopware-docker-vps-installation-fehler-usr-bin-env-php-no/51551/5 "2018-03-05T13:54:40Z")

</div>

danke hab ich probiert er sagt

&nbsp;

root@vps18066:~/shopware-docker/shopware-docker# apt install php7.0-cli

Reading package lists… Done

Building dependency tree&nbsp; &nbsp; &nbsp; &nbsp;

Reading state information… Done

E: Unable to locate package php7.0-cli

E: Couldn’t find any package by glob ‚php7.0-cli‘

E: Couldn’t find any package by regex ‚php7.0-cli‘

root@vps18066:~/shopware-docker/shopware-docker#&nbsp;

&nbsp;

---

<div class="post-metadata">

**Author:** ![ppeter](https://avatars.discourse-cdn.com/v4/letter/p/c0e974/32.png) [@ppeter](https://forum.shopware.com/u/ppeter)\
**Post date:** [5. März 2018 um 20:06 UTC](https://forum.shopware.com/t/https-github-com-shopwarelabs-shopware-docker-vps-installation-fehler-usr-bin-env-php-no/51551/6 "2018-03-05T20:06:14Z")

</div>

ok hab den fehler behoben nach dem ich einmal

```
sudo apt-get update

```

gemacht hab war es dann gelöst!

und ich konnte dann

_apt install php7.0-cli_

ausführen

danke ist gelöst

lg

Peter&nbsp;
