Open_basedir disable for magento 2? Should there be ?open_basedir be open for shared servers.
Do I need to hire a server? for holding off open_basedir .
Solved! Go to Solution.
Shall "open_basedir" be enable, or disabled for magento 2?
What is importance of being enabled, of disabled?
open_basedir limits the files that can be accessed by php in the specified directory tree.
Suppose you have following two paths on your hosting server
And libraries and configuration directory are here:
and you are having the open_basedir restriction set as following in httpd.conf file
<Directory /var/www/vhosts/domainname/httpdocs> php_admin_value open_basedir "/var/www/vhosts/domainname/httpdocs" </Directory>
then your application will not be able to access files under /var/www/vhosts/domainname/zend path.
For more information please read http://php.net/manual/en/ini.core.php#ini.open-basedir
@JLHC should be able to explain in depth. I searched on internet and based on my understanding shared it.
For your question Shall "open_basedir" be enable, or disabled for magento 2? I think @sherrie should be able to provide official answer,(or may be some one from Magento team, I searched on dev docs but did not find any information).
In last , are you facing any issue related to this setting?
I now " open_basedir " command as "no value " I have set.
I guess this is the most appropriate.what do you think? @muk_t
I " open_basedir " I do not get the error .
One man said to me, should be closed .I wanted to ask you.
" Open_basedir " Value is open or closed ?What should it be?