• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Resolved GravCMS open_basedir restriction (Plesk Windows)

MiSuisse

New Pleskian
Hey guys,
when i try to install GravCMS on Plesk (windows) but there is allways this error :
Code:
"GlobIterator::__construct(): open_basedir restriction in effect. File(E:/plesk/vhost/xyz.com/grav-demo.xyz.com/cache/problem-check-*) is not within the allowed path(s): (E:/plesk/vhost/xyz.com\;C:\Windows\Temp;\;"E:/plesk/vhost/xyz.com/grav-demo.xyz.com/cache/problem-check-*") "

In MyDomain > Php Setting, I have try :
Code:
open_basedir :{WEBSPACEROOT}{\}{:}{TMP}{\}{;}"E:\plesk\vhost\xyz.com\"{;}"E:\plesk\vhost\xyz.com\grav-demo.xyz.com\"
Code:
open_basedir :{WEBSPACEROOT}{\}{:}{TMP}{\}{;}"E:\plesk\vhost\xyz.com\grav-demo.xyz.com\"
Code:
open_basedir :{WEBSPACEROOT}{\}{:}{TMP}{\};"E:\plesk\vhost\xyz.com\";"E:\plesk\vhost\xyz.com\grav-demo.xyz.com\";"E:\plesk\vhost\xyz.com\grav-demo.xyz.com\cache\problem-check-*"
Code:
open_basedir :{WEBSPACEROOT}{\};{TMP};{\};"E:\plesk\vhost\xyz.com\grav-demo.xyz.com\cache\problem-check-*"
but nothing works

Plesk : Obsidian 18.0.46
OS : Windows 2022 DataCenter
PHP : 8.1.11 / FastCGI
Grav : 1.7.37.1


An idea maybe?
Thank you for your help
 
in PhpInfo, i have
Code:
open_basedir    E:/plesk/vhost/xyz.com\;C:\Windows\Temp;\;"E:/plesk/vhost/xyz.com/grav-demo.xyz.com/cache/problem-check-*"

but I have no idea, how the php.ini used by Grav
 
Back
Top