• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Question right problem after update to 17.5

PHP Warning: Unknown: failed to open stream: Operation not permitted in Unknown on line 0
and
PHP Warning: include(): open_basedir restriction in effect. File(C:\inetpub\vhosts\dieschwarzenschafe.com\httpdocs\Shoutbox\sb_files\data\config.php) is not within the allowed path(s): (C:inetpubvhostsdieschwarzenschafe.com\;C:\Windows\Temp\) in C:\inetpub\vhosts\dieschwarzenschafe.com\httpdocs\Shoutbox\shoutbox.php on line 8
 
Last edited:
PHP Warning: include(): open_basedir restriction in effect. File(C:\inetpub\vhosts\dieschwarzenschafe.com\httpdocs\Shoutbox\sb_files\data\config.php) is not within the allowed path(s): (C:inetpubvhostsdieschwarzenschafe.com\;C:\Windows\Temp\) in C:\inetpub\vhosts\dieschwarzenschafe.com\httpdocs\Shoutbox\shoutbox.php on line 8

The path in bold isn't right, check the configuration of PHP for that subscription, it looks like the back slashes have been stripped out leaving just the Windows\Temp\ directory as a workable directory for that subscription.

Try changing the config setting of open_basedir for that subscription to the default value which should look like this {WEBSPACEROOT}{/}{:}{TMP}{/} in the dropdown.
 
how i can this set without plesk?
in pleask i have follow error:

Fehler: phpcfg failed: Das System kann die angegebene Datei nicht finden. (Error code 2) at CreateDirectory(C:inetpubvhostsdieschwarzenschafe.com) at (makeDir line 43) at setPHPIniSetting(C:\inetpub\vhosts\dieschwarzenschafe.com\httpdocs, error_log, C:inetpubvhostsdieschwarzenschafe.com\logs\php_errors\dieschwarzenschafe.com\php_error.log)(phpcfg::setPHPIniSetting line 187) at execute console command --set-php-ini-setting(vconsoleapp::start line 122) at execute "C:\Program Files (x86)\Parallels\Plesk\admin\bin\phpcfg" --set-php-ini-setting "--path=C:\inetpub\vhosts\dieschwarzenschafe.com\httpdocs" "--name=error_log" "--value=C:inetpubvhostsdieschwarzenschafe.com\logs\php_errors\dieschwarzenschafe.com\php_error.log"(vconsoleapp::run line 139) (Error code 1)
 
Back
Top