• 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.

Plesk Panel && PHP Warning: file_exists(): open_basedir restriction

Andrei C

Regular Pleskian
Dear Support,


Many web-sites have next php warnings:
---------------------------
PHP Warning: file_exists(): open_basedir restriction in effect. File(\XXXX\index.php) is not within the allowed path(s): (C:/Inetpub/vhosts//XXXXXXXXXX\;C:\Windows\Temp\) in
----------------------------

When I change in php.ini next string:
open_basedir = "C:/Inetpub/vhosts//XXXXXXXXXX\;C:\Windows\Temp\"
to
open_basedir = "C:\Inetpub\vhosts\xxxxxxxxx\;C:\Windows\Temp\"

there are "No php warning"

Could you tell me, How it's right use "open_basedir" on php.ini?
 
Just use forum search engine and you will find a lot of answers on your questions :)
 
Back
Top