first commit
This commit is contained in:
commit
7cd423a875
2443 files changed
+169189
No files matched your search
@@ -0,0 +1,33 @@
|
||||
# flush cache
|
||||
php vendor/bin/typo3 cache:flush
|
||||
|
||||
# get version
|
||||
./vendor/bin/typo3 --version
|
||||
|
||||
|
||||
# Falls der Vhost noch existiert, einmal sauber entfernen:
|
||||
reeve vhost remove tirol.test
|
||||
|
||||
# Mit Root-Verzeichnis UND Proxy-Weiterleitung neu anlegen:
|
||||
reeve vhost add tirol.test --root ~/Sites/typo3_zuladung_tirol/public --proxy http://127.0.0.1:9074 --server apache
|
||||
|
||||
# path to reeve config
|
||||
cd ~/Library/Application\ Support/reeve/
|
||||
|
||||
# Erzwinge PHP 7.4 aus dem Docker-Container für alle PHP-Dateien
|
||||
<FilesMatch \.php$>
|
||||
SetHandler "proxy:fcgi://127.0.0.1:9074"
|
||||
</FilesMatch>
|
||||
|
||||
|
||||
|
||||
# Die Lösung: Den Datenbank-Host anpassen um vom docker php auf macos DB zuzugrreifen
|
||||
|
||||
# Du musst TYPO3 mitteilen, dass es die Datenbank über die spezielle Schnittstelle von Docker zum Mac-Host ansprechen soll.
|
||||
# 1. Öffne die TYPO3-Konfigurationsdatei deines Projekts auf deinem Mac:
|
||||
# • Bei TYPO3 v11/v12/v13: config/system/additional.php (oder settings.php)
|
||||
# • Bei älteren Versionen (z. B. TYPO3 v9/v10): typo3conf/LocalConfiguration.php (oder AdditionalConfiguration.php)
|
||||
# 2. Suche nach dem Eintrag für die Datenbankverbindung (Connections -> Default) und ändere den Wert für host um:php
|
||||
# Vorher: 'host' => '127.0.0.1', oder 'localhost'
|
||||
# Nachher:
|
||||
'host' => 'host.docker.internal',
|
||||
Reference in new issue
Block a user