• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

Resolved GravCMS open_basedir restriction (Plesk Windows)

Mi-Z

Basic 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