Fehler "open_basedir restriction in effect" im Log bei Netcup Managed Server
Liebes Forum,
ich habe diverse Contao-Managed-Installationen auf einem Netcup Managed-Server und habe massive Probleme mit voll-laufenden Log-Files.
Code:
Fehler: mod_fcgid: stderr: PHP Warning: is_file(): open_basedir restriction in effect. File(/httpdocs/domain.de/www/fe_page.html.twig) is not within the allowed path(s): (/var/www/vhosts/domain.de/:/tmp/:/var/lib/php/sessions) in /var/www/vhosts/domain.de/httpdocs/domain.de/www/vendor/twig/twig/src/Loader/FilesystemLoader.php on line 212
An und für sich funktionieren die Seiten bzw. Contao bis auf die o. g. Fehlermeldung einwandfrei.
Mein PHP-Setup:
- PHP 8.1
- open_basedir: {WEBSPACEROOT}{/}{:}{TMP}{/} (Standard)
- Dokumentenstamm: httpdocs/domain.de/www/public (zuvor /web)
Vielen Dank für Eure Unterstützung und liebe Grüße!
Tom