• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

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