• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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