• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be 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 not working properly

RobertoV

New Pleskian
Hello,

My config is:
Windows Server 2008 Standard 32 bits SP2
Parallels Plesk Panel 10.4.4 Update #37


I'm having the typical open_basedir problem that doens't allow to an account to write in the folder of other account.

I've been solving this in other servers adding the path in the open_basedir config field of the account that wants to write working properly, but in this server that doesn't work.

I receive this error:

--------------------------------------------------------------------------------------------------------------------
PHP Warning: move_uploaded_file(): open_basedir restriction in effect. File(c:/inetpub/vhosts/xxxxx.com/httpdocs/xxxxx/xxxxx.jpg) is not within the allowed path(s): (c:/inetpub/vhosts/xxxxx.com/httpdocs/xxxxx/) in C:\Inetpub\vhosts\yyyyy.xxxxx.com\httpdocs\_uploader.php on line 31
--------------------------------------------------------------------------------------------------------------------

As you can see in the error the script says that I can't write in a folder because that folder is not on the open_basedir, but yes there it is.

There's any way to disable this on windows? Yes, I know that it's a security issue, but that's not a problem for this server at all.

Thanks in advance.
 
Last edited:
My problem was solved by the Parallels team with a support ticket of $75.

After weeks of investigation they discover that there was a bug, so you should change the values manually in the registry at HKLM>SOFTWARE>PHP>Per Directory Values>C>Inetpub>vhosts>yourdomainname.com>httpdocs
 
There's no automatic process to solve it, just modify the open_basedir keyword value in your registry.
 
Hi!

Is there version of the Plesk Control Panel for Windows that fixed this bug?

I have version 11.0.9 #28, and found the same problem, I had to manually edit the Windows Registry values​​.

Plesk team, already exists definitive solution?
 
Back
Top