• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

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