# Vagrant-Anleitung von Shopware - PHP Version?

**URL:** <https://forum.shopware.com/t/vagrant-anleitung-von-shopware-php-version/26175>\
**Category:** Programmierung\
**Created:** [10. April 2015 um 18:14 UTC](https://forum.shopware.com/t/vagrant-anleitung-von-shopware-php-version/26175 "2015-04-10T18:14:22Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![sunflower](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/sunflower/32/8100_2.png) [@sunflower](https://forum.shopware.com/u/sunflower)\
**Post date:** [10. April 2015 um 18:14 UTC](https://forum.shopware.com/t/vagrant-anleitung-von-shopware-php-version/26175/1 "2015-04-10T18:14:22Z")

</div>

Hallo zusammen, habe eben die Vagrant-Umgebung laut Anleitung installiert: [Vagrant and PHPStorm](https://devdocs.shopware.com/developers-guide/vagrant-phpstorm/) Leider ist in der PHP-Version kein IONcube enthalten. Muss man das selbst noch nachinstallieren? Auch xdebug ist nicht in dieser PHP-Version. 😢 Oder hat das einen Grund das xdebug nicht vorkonfiguriert wird? Grüße sunflower

---

<div class="post-metadata">

**Author:** ![Shopwareianer](https://avatars.discourse-cdn.com/v4/letter/s/b4bc9f/32.png) [@Shopwareianer](https://forum.shopware.com/u/Shopwareianer)\
**Post date:** [10. April 2015 um 18:21 UTC](https://forum.shopware.com/t/vagrant-anleitung-von-shopware-php-version/26175/2 "2015-04-10T18:21:22Z")

</div>

Wenn keine Ioncube Version drin ist, installier es nach 🙂 Einfach in die Maschiene einloggen mit “vagrant ssh” innerhalb des Vagrant Ordners und dann entsprechend Ioncube reinhauen. Hier nen kurzes Tutorial: [https://www.digitalocean.com/community/ … ube-loader](https://www.digitalocean.com/community/tutorials/how-to-install-ioncube-loader) xdebug kannst du einfach per apt installen: `sudo apt-get install php5-xdebug` Ansonsten hier bspw. auch Anleitungen: [http://purencool.com/installing-xdebug-on-ubuntu](http://purencool.com/installing-xdebug-on-ubuntu)

---

<div class="post-metadata">

**Author:** ![TimmeHosting](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/timmehosting/32/15580_2.png) [@TimmeHosting](https://forum.shopware.com/u/TimmeHosting)\
**Post date:** [10. April 2015 um 18:56 UTC](https://forum.shopware.com/t/vagrant-anleitung-von-shopware-php-version/26175/3 "2015-04-10T18:56:06Z")

</div>

Falls es für Dein PHP kein Paket gibt (z.B., weil Du PHP selber kompiliert hast), kannst Du Xdebug auch per pecl installieren: [http://xdebug.org/docs/install](http://xdebug.org/docs/install)

---

<div class="post-metadata">

**Author:** ![sunflower](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/sunflower/32/8100_2.png) [@sunflower](https://forum.shopware.com/u/sunflower)\
**Post date:** [10. April 2015 um 19:24 UTC](https://forum.shopware.com/t/vagrant-anleitung-von-shopware-php-version/26175/4 "2015-04-10T19:24:53Z")

</div>

@kayyy Vielen Dank für die schnellen Hinweise. XDEBUG konnte ich so problemlos installieren. 🙂 Mit ION-Cube kämpfe ich noch etwas. Das ist ein 64 bit Ubuntu mit PHP 5.5. Die ION-Cube-Datei mit der richtigen Version habe ich in das PHP-Verzeichnis kopiert. Apache Restart, trotzdem kein IONcube. 😢 Vielleicht fällt mir übers Wochenende die Lösung ein. Finde es toll das Shopware dieses Tutorial anbietet. :thumbup: Allerdings ist es schade das damit nicht auch gleich die optimale Laufzeitumgebung erzeugt wird. Grüße sunflower

---

<div class="post-metadata">

**Author:** ![Shopwareianer](https://avatars.discourse-cdn.com/v4/letter/s/b4bc9f/32.png) [@Shopwareianer](https://forum.shopware.com/u/Shopwareianer)\
**Post date:** [10. April 2015 um 19:28 UTC](https://forum.shopware.com/t/vagrant-anleitung-von-shopware-php-version/26175/5 "2015-04-10T19:28:21Z")

</div>

Du müsstest Ioncube auch noch in die php.ini eintragen, damit es auch entsprechend geladen wird. Dazu trägst du in die php.ini ganz oben ein: `zend\_extension = /usr/lib/php5/20090626+lfs/ioncube\_loader\_lin\_5.5.so` Hier natürlich mit dem korrekten Pfad und der korrektn ioncube Version. Danach noch ein service apache2 restart

---

<div class="post-metadata">

**Author:** ![sunflower](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/sunflower/32/8100_2.png) [@sunflower](https://forum.shopware.com/u/sunflower)\
**Post date:** [10. April 2015 um 19:42 UTC](https://forum.shopware.com/t/vagrant-anleitung-von-shopware-php-version/26175/6 "2015-04-10T19:42:43Z")

</div>

Oh Mann, meine Server-Config-Kenntnisse sind etwas eingerostet. Kommt davon wenn man nur noch mit „Managed-Systemen“ arbeitet. Da hätte man schon noch selbst darauf kommen können. :oops: Vielen Dank, jetzt ist Feierabend für heute. Am Montag werde ich mal sehen wie ich diese Installation nun mit PHPstorm zum Laufen kriege. Grüße und ein schönes Wochenende sunflower

---

<div class="post-metadata">

**Author:** ![ffinkelm](https://avatars.discourse-cdn.com/v4/letter/f/fbc32d/32.png) [@ffinkelm](https://forum.shopware.com/u/ffinkelm)\
**Post date:** [10. Mai 2015 um 18:12 UTC](https://forum.shopware.com/t/vagrant-anleitung-von-shopware-php-version/26175/7 "2015-05-10T18:12:09Z")

</div>

Hallo, kann mir bitte mal jemand bei der Anleitung helfen: [Vagrant and PHPStorm](https://devdocs.shopware.com/developers-guide/vagrant-phpstorm/) Ich scheitere schon nachdem ich die beiden Pakete heruntergeladen und installiert habe. Wie geht es dann weiter??? Was bedeutet: " The provision is done by Ansible directly on the created vm. Clone the repository to your local machine." , ich kann damit absolut nichts anfangen!? :shock: Danke!!!

---

<div class="post-metadata">

**Author:** ![Shopwareianer](https://avatars.discourse-cdn.com/v4/letter/s/b4bc9f/32.png) [@Shopwareianer](https://forum.shopware.com/u/Shopwareianer)\
**Post date:** [10. Mai 2015 um 18:41 UTC](https://forum.shopware.com/t/vagrant-anleitung-von-shopware-php-version/26175/8 "2015-05-10T18:41:03Z")

</div>

steht doch alles step by step da … `git clone https://github.com/shopwareLabs/shopware-vagrant $ cd shopware-vagrant` `cd vagrant $ vagrant up`

---

<div class="post-metadata">

**Author:** ![ffinkelm](https://avatars.discourse-cdn.com/v4/letter/f/fbc32d/32.png) [@ffinkelm](https://forum.shopware.com/u/ffinkelm)\
**Post date:** [10. Mai 2015 um 18:59 UTC](https://forum.shopware.com/t/vagrant-anleitung-von-shopware-php-version/26175/9 "2015-05-10T18:59:03Z")

</div>

[quote=„kayyy“]steht doch alles step by step da … `git clone https://github.com/shopwareLabs/shopware-vagrant $ cd shopware-vagrant` `cd vagrant $ vagrant up`[/quote] Und wo gebe ich das ein?

---

<div class="post-metadata">

**Author:** ![Shopwareianer](https://avatars.discourse-cdn.com/v4/letter/s/b4bc9f/32.png) [@Shopwareianer](https://forum.shopware.com/u/Shopwareianer)\
**Post date:** [10. Mai 2015 um 19:01 UTC](https://forum.shopware.com/t/vagrant-anleitung-von-shopware-php-version/26175/10 "2015-05-10T19:01:29Z")

</div>

In der Konsole / Terminal.

---

<div class="post-metadata">

**Author:** ![ffinkelm](https://avatars.discourse-cdn.com/v4/letter/f/fbc32d/32.png) [@ffinkelm](https://forum.shopware.com/u/ffinkelm)\
**Post date:** [10. Mai 2015 um 19:24 UTC](https://forum.shopware.com/t/vagrant-anleitung-von-shopware-php-version/26175/11 "2015-05-10T19:24:45Z")

</div>

Ok, und in welcher Konsole, wie rufe ich die auf? Danke! Gruß

---

<div class="post-metadata">

**Author:** ![ffinkelm](https://avatars.discourse-cdn.com/v4/letter/f/fbc32d/32.png) [@ffinkelm](https://forum.shopware.com/u/ffinkelm)\
**Post date:** [10. Mai 2015 um 19:39 UTC](https://forum.shopware.com/t/vagrant-anleitung-von-shopware-php-version/26175/12 "2015-05-10T19:39:18Z")

</div>

OK, ich habe es gefunden Es fehlt [Git for Windows](http://msysgit.github.io/). Damit hat man dann die benötigte Konsole, damit können dann die commands eingegeben werden . Dies steht aber nicht in der Beschreibung… Gruß Frank

---

<div class="post-metadata">

**Author:** ![Shopwareianer](https://avatars.discourse-cdn.com/v4/letter/s/b4bc9f/32.png) [@Shopwareianer](https://forum.shopware.com/u/Shopwareianer)\
**Post date:** [10. Mai 2015 um 20:42 UTC](https://forum.shopware.com/t/vagrant-anleitung-von-shopware-php-version/26175/13 "2015-05-10T20:42:02Z")

</div>

> [@ffinkelm](#):
>
> OK, ich habe es gefunden Es fehlt [Git for Windows](http://msysgit.github.io/). Damit hat man dann die benötigte Konsole, damit können dann die commands eingegeben werden . Dies steht aber nicht in der Beschreibung… Gruß Frank

---

<div class="post-metadata">

**Author:** ![ffinkelm](https://avatars.discourse-cdn.com/v4/letter/f/fbc32d/32.png) [@ffinkelm](https://forum.shopware.com/u/ffinkelm)\
**Post date:** [11. Mai 2015 um 11:06 UTC](https://forum.shopware.com/t/vagrant-anleitung-von-shopware-php-version/26175/14 "2015-05-11T11:06:15Z")

</div>

Hallo kayyy, da verzwifele ich langsam aber sicher. Also commands in die Eingabeaufforderung von Windows einzugeben funktioniert gar nicht, da bekomme ich immer Fehler „der Befehl ist entweder falsch geschrieben oder kann nicht gefunden werden“. Also habe ich das Ganze mit der Git4Windows Konsole gemacht, das funktionierte auch soweit bis zum Punkt „To SSH into the created VM:$ vagrant ssh“. Wenn ich mich da einloggen will, Fehler vagrant ist nicht vorhanden. Erst mal ignoriert und weiter mit PHPStorm. Bei Step 3 die nächste Hürde. Mein local path ist ein ganz anderer -ist ja vom Benutzername her auch logisch, aber was ist mit dem Rest? Muss der Pfad zwingend User/meinBenutzername/sites/next sein? Also auch erst mal ignoriert und dann bei Deployment path das nächste Problem. Anleitung sagt: „After adding our deploy machine we create a mapping between local files and remote files. Switch to the Mappings folder and press the „…“ near Deployment path. Choose /home/vagrant/www/shopware. If the shopware folder doesn’t exists, create it here with right click.“ OK, aber im Pfad bei der Anleitung ist nur /shopware eingetragen und nicht /home/vagrant/www/shopware. Was ist denn nun korrekt? Also auch hier erst mal weiter gemacht. Die nächsten Schritte haben dann auch wieder funktioniert, also ab Build Shopware. Aber es kam wie es kommen musste, beim Aufruf der Adresse [http://33.33.33.10/shopware](http://33.33.33.10/shopware) erscheint nur eine weiße Seite, Backend ebenso, phpmyadmin ist erreichbar. ☹ Gruß Frank

---

<div class="post-metadata">

**Author:** ![Shopwareianer](https://avatars.discourse-cdn.com/v4/letter/s/b4bc9f/32.png) [@Shopwareianer](https://forum.shopware.com/u/Shopwareianer)\
**Post date:** [11. Mai 2015 um 12:09 UTC](https://forum.shopware.com/t/vagrant-anleitung-von-shopware-php-version/26175/15 "2015-05-11T12:09:55Z")

</div>

Ich kenne mich mit Windows leider nicht aus. Und Schritte ignorieren bringt natürlich überhaupt nichts … Zu allerst solltest du git für Windows installieren -\> [https://www.git-scm.com/download/win](https://www.git-scm.com/download/win) Danach öffnest deine Windows Console und gehst bspw. auf den Desktop: [http://www.computerhope.com/issues/ch000928.htm](http://www.computerhope.com/issues/ch000928.htm) -\> `cd c:\Users\(username)\Desktop` Dort führst du dann entsprechend folgenden Code aus: `git clone https://github.com/shopwareLabs/shopware-vagrant ` Nun holt sich git hier die entsprechenden files von Github und legt alles in den Ordner shopware-vagrant. Daher müssen wir nun in den shopware-vagrant folder wechseln: `cd shopware-vagrant` Und dann in den Ordner vagrant `cd vagrant` Hier befinden sich die nötigen Files, welche Vagrant benötigt. ( Vagrantfile ) Um Vagrant nun zu starten und “einzurichten” gibst du den Befehl ein: `vagrant up ` Nun lädt Vagrant die Box, dass dauert ein Weilchen. Übrigens gibt es auch eine GUI für Vagrant -\> [http://vagrantmanager.com/](http://vagrantmanager.com/)

---

<div class="post-metadata">

**Author:** ![ffinkelm](https://avatars.discourse-cdn.com/v4/letter/f/fbc32d/32.png) [@ffinkelm](https://forum.shopware.com/u/ffinkelm)\
**Post date:** [11. Mai 2015 um 12:43 UTC](https://forum.shopware.com/t/vagrant-anleitung-von-shopware-php-version/26175/16 "2015-05-11T12:43:29Z")

</div>

Mensch kayyy, was würden wir alle bloß ohne dich tun…vielen herzlichen Dank!!! Ich werde es dann -leider erst- heute abend noch mal nach deiner Anleitung probieren. Gruß Frank

---

<div class="post-metadata">

**Author:** ![ffinkelm](https://avatars.discourse-cdn.com/v4/letter/f/fbc32d/32.png) [@ffinkelm](https://forum.shopware.com/u/ffinkelm)\
**Post date:** [12. Mai 2015 um 11:18 UTC](https://forum.shopware.com/t/vagrant-anleitung-von-shopware-php-version/26175/17 "2015-05-12T11:18:26Z")

</div>

Update, also Befehle mit der Windows Konsole eingeben -im Allgemeinen als Eingabeaufforderung bekannt- funktioniert nur dann, wenn vorher GIT installiert wurde und bei der Installation auch gewählt wird, die commands per Windows Eingabeaufforderung (Konsole) machen zu können. Habs aber trotzdem noch nicht geschafft, die Umgebung ans Laufen zu bekommen, komme aber immer weiter 🙂 Gruß

---

<div class="post-metadata">

**Author:** ![hth](https://avatars.discourse-cdn.com/v4/letter/h/b77776/32.png) [@hth](https://forum.shopware.com/u/hth)\
**Post date:** [12. Mai 2015 um 11:28 UTC](https://forum.shopware.com/t/vagrant-anleitung-von-shopware-php-version/26175/18 "2015-05-12T11:28:27Z")

</div>

[quote=„ffinkelm“]Update, also Befehle mit der Windows Konsole eingeben -im Allgemeinen als Eingabeaufforderung bekannt- funktioniert nur dann, wenn vorher GIT installiert wurde und bei der Installation auch gewählt wird, die commands per Windows Eingabeaufforderung (Konsole) machen zu können. Habs aber trotzdem noch nicht geschafft, die Umgebung ans Laufen zu bekommen, komme aber immer weiter 🙂 Gruß[/quote] Hallo , was hast Du denn eigentlich später mit dieser Installation vor? Wenn es dir darum geht, in einer virtuellen Maschine die aktuelle Shopware-Version zu installieren und zu testen, dann installiere dir einfach einen fertigen LAMPP-Stack von bitnami in z. B. virtualbox und installiere dort das Shopware-ZIP. Dann brauchst Du dich um Vagrant, GIT etc. nicht zu kümmern.

---

<div class="post-metadata">

**Author:** ![ffinkelm](https://avatars.discourse-cdn.com/v4/letter/f/fbc32d/32.png) [@ffinkelm](https://forum.shopware.com/u/ffinkelm)\
**Post date:** [12. Mai 2015 um 12:19 UTC](https://forum.shopware.com/t/vagrant-anleitung-von-shopware-php-version/26175/19 "2015-05-12T12:19:55Z")

</div>

Ja, genau das möchte ich machen. Schau ich mir auch mal an, danke! Gruß

---

<div class="post-metadata">

**Author:** ![benblub](https://avatars.discourse-cdn.com/v4/letter/b/ebca7d/32.png) [@benblub](https://forum.shopware.com/u/benblub)\
**Post date:** [27. August 2015 um 21:40 UTC](https://forum.shopware.com/t/vagrant-anleitung-von-shopware-php-version/26175/20 "2015-08-27T21:40:53Z")

</div>

Leider hänge ich beim dev Tut an folgender Fehlermeldung, siehe Bild. Jemand ne Idee was ich da wo im Bios umstellen soll oder sonst ?

 ![](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/2X/3/33e181f67bb157a34a071f541db49dc8aefe1309.png)

[Nächste Seite](https://forum.shopware.com/t/vagrant-anleitung-von-shopware-php-version/26175.md?page=2)
