- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
friends,
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 .
thanks.
Solved! Go to Solution.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
To confirm, is open_basedir disabled for your current server?
You may want to try contacting your hosting provider and see if they can have it disabled for you if they are enabled.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
To confirm, is open_basedir disabled for your current server?
You may want to try contacting your hosting provider and see if they can have it disabled for you if they are enabled.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Open_basedir disable for magento 2?
Shall "open_basedir" be enable, or disabled for magento 2?
What is importance of being enabled, of disabled?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Open_basedir disable for magento 2?
Hi @OKNSYN
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
/var/www/vhosts/domainname/httpdocs
And libraries and configuration directory are here:
/var/www/vhosts/domainname/zend
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?
Problem Solved Click Accept as Solution!:Magento Community India Forum
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Open_basedir disable for magento 2?
I now " open_basedir " command as "no value " I have set.
I guess this is the most appropriate.what do you think? @Mukesh Tiwari
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?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Open_basedir disable for magento 2?
Composer install returns Unknown: open_basedir restriction in effect. File(/usr/lib64/plesk-9.0/composer.phar) is not within the allowed path.
Anyone that has been delt with the same problem before?
Thanks!