[TYPO3-german] Site kopieren: typo3conf/localconf.php
David Bruchmann
david at bruchmann-web.de
Thu Feb 18 11:33:26 CET 2010
Hi,
hilft das?
if (strpos($_SERVER['SERVER_ADDR'],'127',0) !== false ||
strpos($_SERVER['SERVER_ADDR'],'192',0) !== false) {
#if (strpos($_SERVER['SERVER_ADDR'],'192',0))
t3lib_div::debug($_SERVER,'$_SERVER');
#if (strpos($_SERVER['SERVER_ADDR'],'192',0)) echo
'SERVER_NAME:'.$_SERVER['SERVER_NAME'].'<br>';
/*
$typo_db_username = 'xxx';
$typo_db_password = 'xxx';
$typo_db_host = 'xxx';
*/
include ('/db_data.inc.php');
$typo_db = 'xxx';
$TYPO3_CONF_VARS['FE']['debug'] = '1';
$TYPO3_CONF_VARS['SYS']['displayErrors'] = '1';
$TYPO3_CONF_VARS['SYS']['sqlDebug'] = '1';
$TYPO3_CONF_VARS['SYS']['setMemoryLimit'] = '256';
$TYPO3_CONF_VARS["BE"]["sessionTimeout"] = '7200000';
$TYPO3_CONF_VARS['SYS']['systemLogLevel'] = '2';
$TYPO3_CONF_VARS['SYS']['systemLog'] =
'file,N:\___www___\_typo3\v4.210\quickstart_3_7_0\syslog.txt,2';
$TYPO3_CONF_VARS["GFX"]["im_path"] = 'N:\ImageMagick-6.3.7-Q16\\';
$TYPO3_CONF_VARS["GFX"]["im_path_lzw"] = 'N:\ImageMagick-6.3.7-Q16\\';
$TYPO3_CONF_VARS['GFX']["im"] = '1'; // Modified or inserted by TYPO3
Install Tool.
$TYPO3_CONF_VARS["GFX"]["im_negate_mask"] = '1'; // 1
$TYPO3_CONF_VARS["GFX"]["im_imvMaskState"] = '0'; // 0
$TYPO3_CONF_VARS["GFX"]["im_v5effects"]='1'; // 1
$TYPO3_CONF_VARS["GFX"]["gdlib_2"]='1'; // 1
$TYPO3_CONF_VARS["GFX"]["im_jpg_quality"] = '96';
$TYPO3_CONF_VARS["GFX"]["TTFdpi"] = '96';
$TYPO3_CONF_VARS["GFX"]["im_combine_filename"] = 'composite';
$TYPO3_CONF_VARS["GFX"]["im_version_5"] = '1';
$TYPO3_CONF_VARS["GFX"]["gdlib_png"] = '1';
$TYPO3_CONF_VARS["GFX"]["im_mask_temp_ext_gif"] = '0';
$TYPO3_CONF_VARS["GFX"]["thumbnails_png"] = '1';
$TYPO3_CONF_VARS['GFX']['png_truecolor'] = 1;
$TYPO3_CONF_VARS['EXT']['extConf']['t3quixplorer'] =
'a:5:{s:9:"no_access";s:5:"^\\.ht";s:11:"show_hidden";s:1:"1";s:8:"home_url";s:28:"http://www.bruchmann-web.loc";s:8:"home_dir";s:36:"N:/www/_typo3/v4.210/quickstart_3_7_0";s:11:"show_thumbs";s:1:"1";}';
$TYPO3_CONF_VARS['EXT']['extConf']['indexed_search'] =
'a:3:{s:8:"pdf_mode";s:3:"-20";s:6:"catdoc";s:15:"/usr/local/bin/";s:8:"pdftools";s:15:"/usr/local/bin/";}';
}
else {
$typo_db_username = 'xxx';
$typo_db_password = 'xxx';
$typo_db_host = 'xxx';
$typo_db = 'xxx';
$TYPO3_CONF_VARS['FE']['debug'] = '0';
$TYPO3_CONF_VARS['SYS']['displayErrors'] = '0';
$TYPO3_CONF_VARS['SYS']['sqlDebug'] = '0';
$TYPO3_CONF_VARS['SYS']['setMemoryLimit'] = '128';
$TYPO3_CONF_VARS["BE"]["sessionTimeout"] = '7200';
$TYPO3_CONF_VARS['SYS']['systemLogLevel'] = '3';
$TYPO3_CONF_VARS['SYS']['systemLog'] =
'file,/home/w11674/web/public_html/quickstart_3_7_0/syslog.txt,3';
$TYPO3_CONF_VARS["GFX"]["im_path"] = '/usr/bin/';
$TYPO3_CONF_VARS["GFX"]["im_path_lzw"] = '/usr/bin/';
$TYPO3_CONF_VARS['GFX']['gdlib_png'] = '1'; // Modified or inserted by
TYPO3 Install Tool.
$TYPO3_CONF_VARS['GFX']['im_combine_filename'] = 'composite'; //
Modified or inserted by TYPO3 Install Tool.
$TYPO3_CONF_VARS['GFX']['im_path'] = '/usr/bin/'; // Modified or
inserted by TYPO3 Install Tool.
$TYPO3_CONF_VARS['GFX']['im_version_5'] = 'im5'; // Modified or
inserted by TYPO3 Install Tool.
$TYPO3_CONF_VARS['GFX']['TTFdpi'] = '96'; // Modified or inserted by
TYPO3 Install Tool.
$TYPO3_CONF_VARS['GFX']['im_v5effects'] = '1'; // Modified or inserted
by TYPO3 Install Tool.
/*
gd
GD Support enabled
GD Version bundled (2.0.34 compatible)
FreeType Support enabled
FreeType Linkage with freetype
FreeType Version 2.3.7
T1Lib Support enabled
GIF Read Support enabled
GIF Create Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
XBM Support enabled
*/
$TYPO3_CONF_VARS['EXT']['extConf']['t3quixplorer'] =
'a:5:{s:9:"no_access";s:5:"^\\.ht";s:11:"show_hidden";s:1:"1";s:8:"home_url";s:27:"http://www.bruchmann-web.de";s:8:"home_dir";s:45:"/home/w11674/web/public_html/quickstart_3_7_0";s:11:"show_thumbs";s:1:"1";}';
$TYPO3_CONF_VARS['EXT']['extConf']['indexed_search'] =
'a:3:{s:8:"pdf_mode";s:3:"-20";s:6:"catdoc";s:15:"/usr/local/bin/";s:8:"pdftools";s:15:"/usr/local/bin/";}';
}
Gruß
David
----- Ursprüngliche Nachricht -----
Von: Widmann, Manfred <mpunktw at gmx.net>
Gesendet: Donnerstag, 18. Februar 2010 11:21:41
An: typo3-german at lists.typo3.org
CC:
Betreff: [TYPO3-german] Site kopieren: typo3conf/localconf.php
> Hi NG!
>
> Ich kopiere gerade einen Site in eine Testumgebung: Ich habe auf einer VM
> ein Ubuntu aufgesetzt und ein leeres TYPO3 installiert und dann die
> Datenbank, typo3conf, fileadmin und uploads vom Original in die
> Entwicklungsumgebung kopiert - geht alles gut, nur beim typo3conf/localconf
> bin ich unsicher!
>
> Um ein ideales Ergebnis zu haben, muss man ja die originale localconf mit
> der localconf der VM mischen, denn einerseits stehen da Dinge drinnen, die
> sich auf den Server beziehen (z.B. Pfad zur IM), andererseits aber auch
> wieder Dinge, die sich auf die TYPO3-Anwendung beziehen (z.B: Installierte
> Extensions in extList oder Name, User und Pwd der Datenbank)
>
> Weiß jemand eine Regel, welche der Info aus dem Original man übernehmen
> muss, und welche nicht?
More information about the TYPO3-german
mailing list