• 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

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