ppeter
                
              
                
              
                  
                  
              1
              
             
            
              Hallo!
hab via VPS eine docker installation auf ubuntu gemacht
mit dieser Anleitung
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
             
            
              
              
              
            
            
           
          
            
            
              Versuche mal einfach php -v in die Konsole einzugeben. Das sollte eine Ausgabe ähnlich wie
$ php -v
PHP 7.2.3 (cli) (built: Mar  2 2018 15:48:10) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
    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
             
            
              
              
              
            
            
           
          
            
              
                ppeter
                
              
              
                  
                  
              3
              
             
            
              hallo!
 
danke ja folgendes
 
root@vps18066:~/shopware-docker/shopware-docker# php -v
The program ‘php’ can be found in the following packages:
 * php7.0-cli
 * hhvm
Try: apt install 
root@vps18066:~/shopware-docker/shopware-docker# 
 
 
.)
Peter
             
            
              
              
              
            
            
           
          
            
            
              Ok, dann sollte ein apt install php7.0-cli später eigentlich alles laufen. 
             
            
              
              
              
            
            
           
          
            
              
                ppeter
                
              
              
                  
                  
              5
              
             
            
              danke hab ich probiert er sagt
 
root@vps18066:~/shopware-docker/shopware-docker# apt install php7.0-cli
Reading package lists… Done
Building dependency tree       
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# 
 
             
            
              
              
              
            
            
           
          
            
              
                ppeter
                
              
              
                  
                  
              6
              
             
            
              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