TYPO3 Flow Installation
Installation
Die Installation gestaltet sich relativ einfach.
PHP
Flow3 benötigt PHP 5.3. Eine Anleitung für OSX 10.6 ist unter Entwickler->Umgebung einrichten->PHP zu finden - dies ist nur nötig wenn man beide PHP Versionen parallel betreiben will (nach wie vor ist ja TYPO3 V4 noch die aktuelle Version auf PHP 5.2)
Flow3
Source
Das Paket downloaden und im Webverzeichnis entpacken - z.B. htdocs/FLOW3-1.0.0-alpha6.
Berechtigungen
Die Berechtigungen setzen mit:
cd /htdocs
chgrp www FLOW3-1.0.0-alpha6
# <commandlineuser> <webuser> <webgroup>
cd FLOW3-1.0.0-alpha6
./Packages/Framework/FLOW3/Scripts/setfilepermissions.sh someone www www
Webserver
Die Konfiguration erfolgt bei mir mittels 4 virtueller Hosts: default = developer, testing, production unter /etc/apache2/extra/httpd-vhosts.conf:
# ----------------------------------
# PHP 5.3 apache port 81
# ----------------------------------
NameVirtualHost *:81
# flow3 default
<VirtualHost *:81>
ServerAdmin info@example.com
DocumentRoot /htdocs/developer/FLOW3-1.0.0-alpha6/Web
ServerName flow3.local
SetEnv FLOW3_CONTEXT Development
</VirtualHost>
# flow3 prod
<VirtualHost *:81>
ServerAdmin info@example.com
DocumentRoot /htdocs/developer/FLOW3-1.0.0-alpha6/Web
ServerName prod.flow3.local
SetEnv FLOW3_CONTEXT Production
</VirtualHost>
# flow3 test
<VirtualHost *:81>
ServerAdmin info@example.com
DocumentRoot /htdocs/developer/FLOW3-1.0.0-alpha6/Web
ServerName test.flow3.local
SetEnv FLOW3_CONTEXT Testing
</VirtualHost>
# flow3 dev
<VirtualHost *:81>
ServerAdmin info@example.com
DocumentRoot /htdocs/developer/FLOW3-1.0.0-alpha6/Web
ServerName dev.flow3.local
SetEnv FLOW3_CONTEXT Development
</VirtualHost>
Die Hostnamen (flow3.local, prod.flow3.local, test.flow3.local, dev.flow3.local) müssen noch in /etc/hosts bekannt gemacht werden.