• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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