viewtopic.php?f=4&t=16&start=0

Ich möchte hier gerne auf den oben gelinkten Fred verweisen,
ich kann darin nur net schreiben....


Geht dieser SuDo ? auch noch in Plesk 9 ?

was muss ich alles in config.inc.php eintragen?


unterschied zur installations anleitung die da steht

ist das bei meinem Opensuse10.3 kein
/opt/psa/admin/htdocs existiert

sondern
/usr/local/psa/admin/htdocs
ich hoffe das ist der richtige und es gibt net noch so nen 2ten, der auch so ne Verzeichnis Struktur hat.


Code:
<?php

error_reporting(0);

define("DB_USR", "admin");
define("DB_PWD", trim(exec ("cat /etc/psa/.psa.shadow")));
define("DB_NAME", "psa");
define("DB_HOST", "localhost");
define("DOCROOT", "/srv/www/vhosts/{DOMAIN}/");
define("SUDO_VERSION","1.6a");


// define your language file, ex: en; ro; de;
define("LANG", "de");

define("PHP4MOD","mod_php4.c"); 
// You have to try it out which you have. To make sure, have a look in one of you httpd.include of you domains
// "mod_php4.c" for Server4You
// "sapi_apache2.c" for HostEurope

define("TDB_PATH","cgi-bin/"); //Path to your TDB-Engine if you have!
define("TDB_BIN","tdbengine"); // Name of your TDB-Engine Binary if you have!

define("PHP5_PATH","cgi-bin/"); //Path to your PHP5-Engine if you have!
define("PHP5_BIN","php5"); // Name of your PHP5 Binary if you have!

define("PSA_PATH",trim(exec ("grep PRODUCT_ROOT_D /etc/psa/psa.conf | sed 's/^[\t]*[A-Z_]*[\t]*//'"))."/");
define("PSA_ADMIN_USER","PSAptADM");
define("PSA_ADMIN_WIDCARDS","NO");
define("ERROR_DEBUG",0);


?>
ich habe net viel geändert nur eben den Verzeichnispfad
Code:
define("DOCROOT", "/srv/www/vhosts/{DOMAIN}/");
oder muss ich noch was ändern?
z.b.:
Code:
define("DB_PWD", trim(exec ("cat /etc/psa/.psa.shadow")));
weil die .psa.shadow existiert und da steht auch mein PW drin


Mein Server ist ein S4Y Server daher ist die einstellung:
Code:
define("PHP4MOD","mod_php4.c");
// You have to try it out which you have. To make sure, have a look in one of you httpd.include of you domains
// "mod_php4.c" for Server4You
// "sapi_apache2.c" for HostEurope
oder liegt daran das er php 4 nutzen will aber php5 aufm server läuft? reicht es einfach aus der 4 ne 5 zu machen?

doch auch richtig oder?


ich benötige wirklich hilfe -.-!