Typo3 Version 7.6

Aus Doku-Wiki
Zur Navigation springenZur Suche springen

Systemangaben

  • Die Installation von Typo3 erfolgt auf folgendem System:
    • Ubuntu 16.4 LTS

Links

Vorbereitung der Installation

Servervorausstezungen

Original Doku

  • Webserver (Apache, Nginx, IIS or other)
  • PHP 5.5 - 7
  • MySQL 5.5 - 5.7

MySQL Rechte

Der MySQL benötigt folgende Rechte auf die Typo3 Datenbank;

   SELECT, INSERT, UPDATE, DELETE
   CREATE, DROP, INDEX, ALTER, CREATE TEMPORARY TABLES, LOCK TABLES

Es wird empfohlen, auch folgende Berechtigungen zu erteilen:

   CREATE VIEW, SHOW VIEW
   EXECUTE, CREATE ROUTINE, ALTER ROUTINE

PHP

Anforderungen

   filter
   hash
   openssl
   pcre >= 8.30
   session
   soap
   SPL
   standard
   xml
   zip
   zlib
   gd
   json
   mysqli

Zusätliche PHP Erweiterungen

aptitude install hp-apcu php-curl php7.0-mbstring php7.0-bcmath php-soap php-zip composer php-gd php-json libapache2-mod-php7.0
# apcu caching (with at least 100 MB of memory available)
# curl
# mbstring
# FreeType 2 (usually included within the PHP distribution)
# bcmath or gmp (needed if you'd like to use the openid system extension)

PHP Einstellungen (php.ini)

  • memory_limit set to at least 128M
  • max_execution_time set to at least 240s
  • max_input_vars set to at least 1500
  • register_globals disabled
  • always_populate_raw_post_data set to -1 (PHP version >= 5.6, <7.0)

Apache 2

Folgende Änderungen müssen in der Apache2 Konfiguration vorgenommen werden:

  • FollowSymLinks (kann Zentral oder in der Webkonfiguration vorgenommen werden)
vi /etc/apache2/sites-enabled/typo3.example.org.conf
   Options FollowSymLinks
vi /etc/apache2/apache2.conf
   Options +FollowSymLinks
  • Rewrite
a2enmod rewrite
service apache2 reload

Installation

  • Typo3 Sourcen entpacken
cd /var/www/[WEBROOT]/
tar xzf typo3_src-7.6.x.tar.gz
  • Sym-Links anlegen
cd htdocs
ln -s ../typo3_src-7.6.x typo3_src
ln -s typo3_src/index.php
ln -s typo3_src/typo3
ln -s typo3_src/_.htaccess .htaccess
  • Rechte anpassen

Hier muss jeder selber wissen, unter welchem Benutzer der Webserver läuft und welche Rechte zugewiesen werden. Dies dient nur als Beispiel!

cd [WEBROOT]
chmod -R 755 htdocs typo3_src-7.6.6
chown -R www-data.www-data htdocs typo3_src-7.6.6