• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

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