• 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.

open_basedir change not reflecting in php

Muhammad Ali Khan

New Pleskian
Hi,

I installed Laravel on server, and i need to run php through command line and php command works fine , but when i execute artisan which has is_file() function and it's trying to locate php.exe it gives me open_basedir error, i tried to set it to none in Plesk , but nothing's helping and i am receiving the same error again and again. So if anybody knows how can i change the open_basedir to none. The error i get is pasted below


[ErrorException]
is_file(): open_basedir restriction in effect. File(C:\Program Files (x86)\
Parallels\Plesk\Additional\PleskPHP56\php.exe) is not within the allowed path(s): (C:/Inetpub/vhosts/directory\;C:\Windows\Temp\)

apart from above i also tried to change open_basedir at runtime , by defining

php -d open_basedir=none,

but it's also not working. and whatever i change the value to either by panel , or in php.ini , i get the same message above. so any help is appreciated

btw ,i am on plesk 12.0.18

Thanks
 
Back
Top