Joomla: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
(Die Seite wurde neu angelegt: =Installation= ==Ubuntu Pakete== apt-get install mysql-server php5-mysql php5 ==Joomla Core== unzip /usr/src/Joomla_1.5.14-Stable-Full_Package_German.zip ==Daten...)
 
Zeile 13: Zeile 13:
 
Privilegien zuordnen  
 
Privilegien zuordnen  
 
  mysql> GRANT ALL PRIVILEGES on xinux.* to 'xinux'@'localhost'
 
  mysql> GRANT ALL PRIVILEGES on xinux.* to 'xinux'@'localhost'
 +
 +
=Anpassungen=
 +
==PHP==
 +
Bei Fehlermeldung
 +
Fatal error: Allowed memory size of 16777216 bytes exhausted ...
 +
Damit Seiten als PDF Dateien exportiert werden können, muss unter Umständen in /etc/php5/apache/php.ini der Wert memory_limit hochgesetzt werden.
 +
...
 +
;;;;;;;;;;;;;;;;;;;
 +
; Resource Limits ;
 +
;;;;;;;;;;;;;;;;;;;
 +
 +
max_execution_time = 30    ; Maximum execution time of each script, in seconds
 +
max_input_time = 60 ; Maximum amount of time each script may spend parsing request data
 +
;max_input_nesting_level = 64 ; Maximum input variable nesting level
 +
'''memory_limit = 32M'''      ; Maximum amount of memory a script may consume (16MB)
 +
...

Version vom 3. September 2009, 11:37 Uhr

Installation

Ubuntu Pakete

apt-get install mysql-server php5-mysql php5  

Joomla Core

unzip   /usr/src/Joomla_1.5.14-Stable-Full_Package_German.zip 

Datenbank angelegen

Konsole mit Passwortabfrage aufrufen

mysql -p 

Datenbank erstellen

mysql> CREATE DATABASE xinux;

User mit dem Passwort suxer anlegen

mysql> CREATE USER 'xinux'@'localhost' IDENTIFIED BY 'suxer';

Privilegien zuordnen

mysql> GRANT ALL PRIVILEGES on xinux.* to 'xinux'@'localhost'

Anpassungen

PHP

Bei Fehlermeldung

Fatal error: Allowed memory size of 16777216 bytes exhausted ...

Damit Seiten als PDF Dateien exportiert werden können, muss unter Umständen in /etc/php5/apache/php.ini der Wert memory_limit hochgesetzt werden.

...
;;;;;;;;;;;;;;;;;;;
; Resource Limits ;
;;;;;;;;;;;;;;;;;;;

max_execution_time = 30     ; Maximum execution time of each script, in seconds
max_input_time = 60 ; Maximum amount of time each script may spend parsing request data
;max_input_nesting_level = 64 ; Maximum input variable nesting level
memory_limit = 32M      ; Maximum amount of memory a script may consume (16MB)
...