ich würde mich freuen, wenn ihr mir bei meinem problem mal helfen könntet.
ich würde gern für einen web-benutzer smarty freischalten. ich hab smarty (2.6) runtergeladen und in das verzeichnis /usr/share/php reinkopiert. die dateien liegen jetzt also im verzeichnis /usr/share/php/smarty. nun hab ich mir ausserhalb von confixx einen vhost gebastelt mit den php_admin_value´s:
jetzt hab ich in den ordner (/home/www/web1/html/smarty/) eine datei gelegt, welche die verfügbarkeit von smarty testet.php_admin_value safe_mode off
php_admin_value open_basedir /home/www/web1/html/smarty/
Code: Select all
<?php
// Smarty testen.
require("Smarty.class.php");
$smarty = new Smarty;
?>
Was mach ich falsch, bzw. wo liegt der Fehler?Warning: open_basedir restriction in effect. File is in wrong directory in /home/www/web1/html/smarty/index.php on line 3
Warning: open_basedir restriction in effect. File is in wrong directory in /home/www/web1/html/smarty/index.php on line 3
Fatal error: Failed opening required 'Smarty.class.php' (include_path='.:/usr/share/php:/usr/share/php/smarty') in /home/www/web1/html/smarty/index.php on line 3
TIA