• The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • Debian 11 has reached its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.81 is the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

PHP open_basedir on Windows Plesk 12

Amir Hossein Yaghouti

Basic Pleskian
Plz help In fix error :
OSMicrosoft Windows Server 2012 R2
Plesk version12.0.18 Update #37, last updated at Mar 4, 2015 05:22 AM


Code:
We're sorry, but an unhandled error occurred. Please see the details below.

file_exists(): open_basedir restriction in effect. File(C:\Inetpub\vhosts\yekia.ir\httpdocs/lang/fa/https://github.php) is not within the allowed path(s): (C:\Inetpub\vhosts\yekia.ir\httpdocs\;\Windows\Temp\)
C:\Inetpub\vhosts\yekia.ir\httpdocs\vendor\laravel\framework\src\Illuminate\Filesystem\Filesystem.php line 20


http://yekia.ir/index.php/backend/system/updates
 
Hello Amir,
I think the error is self explanatory! You can't access a file that s outside or NOT within your root directory!
 
I think the problem is with this line:
Code:
C:\Inetpub\vhosts\yekia.ir\httpdocs/lang/fa/https://github.php

I don't think there is a file called "https://github.php" and I guess it was a typing error. Please remove the "https://" from the file name and I guess that should solve the problem!
 
no problem me php open_basedir.
http://yekia.ir/index.php/backend/cms

all page

Code:
We're sorry, but an unhandled error occurred. Please see the details below. file_exists(): open_basedir restriction in effect. File(C:\Inetpub\vhosts\yekia.ir\httpdocs/lang/fa/Do you really want to delete selected files or directories?.php) is not within the allowed path(s): (C:/Inetpub/vhosts/yekia.ir\;C:\Windows\Temp)

C:\Inetpub\vhosts\yekia.ir\httpdocs\vendor\laravel\framework\src\Illuminate\Filesystem\Filesystem.php line 20

return file_exists($path);

 
Blood, there is a problem with your coding ...
In the above error you are trying to access the file
Code:
Do you really want to delete selected files or directories?.php
which of-
course doesn't exist thus the cause of the error.
 
Am not sure if that is a compliment, but if it's then you are most welcome!
 
This may be stupid but can I deploy Laravel Projects to Windows - Shared Hosting w/ Plesk (Composer installed) and mysql. If so how? I've been trying to run anything PHP with a framework instead of basic PHP for about a year now and i'm struggling.
 
Back
Top