• Dear Pleskians! The Plesk Forum will be undergoing scheduled maintenance on Monday, 7th of July, at 9:00 AM UTC. The expected maintenance window is 2 hours.
    Thank you in advance for your patience and understanding on the matter.

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