lnmp one-click installation package web environmentMessage: is_dir(): open_basedir restriction in effect. File(/mnt/web_site_log/www.abc.com/) is not within the allowed path(s) : (/vagrant/vbee2:/tmp/:/proc/)
Among them/mnt/web_site_log/www.abc.com/
is the log directory. I have created this manually, and the user and group it belongs to have been given to the www user
I don’t know where the problem is. I added open_basedir=/vagrant/vbee2/:/tmp/:/proc/
to php.ini. This section doesn’t work either.
After working on it all night, I still couldn’t find a solution. Another problem is that the verification code icon is not displayed. What is the reason for this?
Thank you
open_basedir limits the directories that PHP can operate. You should also add /mnt/web_site_log/www.abc.com/ to open_basedir.
open_basedir=/vagrant/vbee2/:/tmp/:/proc/:/mnt/web_site_log/www.abc.com/