• 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!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    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.

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