• 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
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff here.

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