• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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