{"id":4508,"date":"2017-12-07T11:00:53","date_gmt":"2017-12-07T10:00:53","guid":{"rendered":"https:\/\/www.utilewebsites.nl\/knowledgebase\/error-login-to-the-admin-at-magento-2-open_basedir-restriction-in-effect-error-on-server\/"},"modified":"2023-04-06T07:13:05","modified_gmt":"2023-04-06T06:13:05","slug":"error-login-to-the-admin-at-magento-2-open_basedir-restriction-in-effect-error-on-server","status":"publish","type":"wz_knowledgebase","link":"https:\/\/www.utilewebsites.nl\/en\/knowledgebase\/error-login-to-the-admin-at-magento-2-open_basedir-restriction-in-effect-error-on-server\/","title":{"rendered":"Error login to the admin at magento 2 | open_basedir restriction in effect error on server"},"content":{"rendered":"<p>When one logs into the admin of magento 2, one sees the following error<\/p>\n<pre>Exception #0 (Exception): Warning: is_dir(): open_basedir restriction in effect. File(\/etc\/pki\/tls\/certs) is not within the allowed path(s):<\/pre>\n<p>How do you solve this ?<\/p>\n<pre>In the file composer.json, modify the following: \n\n \"config\": {\n        \"use-include-path\": false, \n        \"disable-tls\":true\n    },\n\nIf you are not using SSL, you need to set disable-tls to true. If you are using SSL, set it to false.\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>When one logs into the admin of magento 2, one sees the following error Exception #0 (Exception): Warning: is_dir(): open_basedir restriction in effect. File(\/etc\/pki\/tls\/certs) is not within the allowed path(s): How do you solve this ? In the file composer.json, modify the following: \"config\": { \"use-include-path\": false, \"disable-tls\":true }, If you are not using SSL, you need to set disable-tls to true. If you are using SSL, set it to false.<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"wzkb_category":[61],"wzkb_tag":[],"class_list":["post-4508","wz_knowledgebase","type-wz_knowledgebase","status-publish","hentry","wzkb_category-magento-2-0-x"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Error login to the admin at magento 2 | open_basedir restriction in effect error on server - Utilewebsites<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.utilewebsites.nl\/en\/knowledgebase\/error-login-to-the-admin-at-magento-2-open_basedir-restriction-in-effect-error-on-server\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Error login to the admin at magento 2 | open_basedir restriction in effect error on server - Utilewebsites\" \/>\n<meta property=\"og:description\" content=\"When one logs into the admin of magento 2, one sees the following error Exception #0 (Exception): Warning: is_dir(): open_basedir restriction in effect. File(\/etc\/pki\/tls\/certs) is not within the allowed path(s): How do you solve this ? In the file composer.json, modify the following: &quot;config&quot;: { &quot;use-include-path&quot;: false, &quot;disable-tls&quot;:true }, If you are not using SSL, you need to set disable-tls to true. If you are using SSL, set it to false.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.utilewebsites.nl\/en\/knowledgebase\/error-login-to-the-admin-at-magento-2-open_basedir-restriction-in-effect-error-on-server\/\" \/>\n<meta property=\"og:site_name\" content=\"Utilewebsites\" \/>\n<meta property=\"article:modified_time\" content=\"2023-04-06T06:13:05+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.utilewebsites.nl\\\/en\\\/knowledgebase\\\/error-login-to-the-admin-at-magento-2-open_basedir-restriction-in-effect-error-on-server\\\/\",\"url\":\"https:\\\/\\\/www.utilewebsites.nl\\\/en\\\/knowledgebase\\\/error-login-to-the-admin-at-magento-2-open_basedir-restriction-in-effect-error-on-server\\\/\",\"name\":\"Error login to the admin at magento 2 | open_basedir restriction in effect error on server - Utilewebsites\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.utilewebsites.nl\\\/en\\\/#website\"},\"datePublished\":\"2017-12-07T10:00:53+00:00\",\"dateModified\":\"2023-04-06T06:13:05+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.utilewebsites.nl\\\/en\\\/knowledgebase\\\/error-login-to-the-admin-at-magento-2-open_basedir-restriction-in-effect-error-on-server\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.utilewebsites.nl\\\/en\\\/knowledgebase\\\/error-login-to-the-admin-at-magento-2-open_basedir-restriction-in-effect-error-on-server\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.utilewebsites.nl\\\/en\\\/knowledgebase\\\/error-login-to-the-admin-at-magento-2-open_basedir-restriction-in-effect-error-on-server\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.utilewebsites.nl\\\/en\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Knowledge Base\",\"item\":\"https:\\\/\\\/www.utilewebsites.nl\\\/en\\\/knowledgebase\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Error login to the admin at magento 2 | open_basedir restriction in effect error on server\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.utilewebsites.nl\\\/en\\\/#website\",\"url\":\"https:\\\/\\\/www.utilewebsites.nl\\\/en\\\/\",\"name\":\"Utilewebsites\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.utilewebsites.nl\\\/en\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.utilewebsites.nl\\\/en\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.utilewebsites.nl\\\/en\\\/#organization\",\"name\":\"Utilewebsites\",\"url\":\"https:\\\/\\\/www.utilewebsites.nl\\\/en\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.utilewebsites.nl\\\/en\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.utilewebsites.nl\\\/wp-content\\\/uploads\\\/2019\\\/08\\\/logo-Utilewebsites-2017.png\",\"contentUrl\":\"https:\\\/\\\/www.utilewebsites.nl\\\/wp-content\\\/uploads\\\/2019\\\/08\\\/logo-Utilewebsites-2017.png\",\"width\":3000,\"height\":593,\"caption\":\"Utilewebsites\"},\"image\":{\"@id\":\"https:\\\/\\\/www.utilewebsites.nl\\\/en\\\/#\\\/schema\\\/logo\\\/image\\\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Error login to the admin at magento 2 | open_basedir restriction in effect error on server - Utilewebsites","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.utilewebsites.nl\/en\/knowledgebase\/error-login-to-the-admin-at-magento-2-open_basedir-restriction-in-effect-error-on-server\/","og_locale":"en_US","og_type":"article","og_title":"Error login to the admin at magento 2 | open_basedir restriction in effect error on server - Utilewebsites","og_description":"When one logs into the admin of magento 2, one sees the following error Exception #0 (Exception): Warning: is_dir(): open_basedir restriction in effect. File(\/etc\/pki\/tls\/certs) is not within the allowed path(s): How do you solve this ? In the file composer.json, modify the following: \"config\": { \"use-include-path\": false, \"disable-tls\":true }, If you are not using SSL, you need to set disable-tls to true. If you are using SSL, set it to false.","og_url":"https:\/\/www.utilewebsites.nl\/en\/knowledgebase\/error-login-to-the-admin-at-magento-2-open_basedir-restriction-in-effect-error-on-server\/","og_site_name":"Utilewebsites","article_modified_time":"2023-04-06T06:13:05+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.utilewebsites.nl\/en\/knowledgebase\/error-login-to-the-admin-at-magento-2-open_basedir-restriction-in-effect-error-on-server\/","url":"https:\/\/www.utilewebsites.nl\/en\/knowledgebase\/error-login-to-the-admin-at-magento-2-open_basedir-restriction-in-effect-error-on-server\/","name":"Error login to the admin at magento 2 | open_basedir restriction in effect error on server - Utilewebsites","isPartOf":{"@id":"https:\/\/www.utilewebsites.nl\/en\/#website"},"datePublished":"2017-12-07T10:00:53+00:00","dateModified":"2023-04-06T06:13:05+00:00","breadcrumb":{"@id":"https:\/\/www.utilewebsites.nl\/en\/knowledgebase\/error-login-to-the-admin-at-magento-2-open_basedir-restriction-in-effect-error-on-server\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.utilewebsites.nl\/en\/knowledgebase\/error-login-to-the-admin-at-magento-2-open_basedir-restriction-in-effect-error-on-server\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.utilewebsites.nl\/en\/knowledgebase\/error-login-to-the-admin-at-magento-2-open_basedir-restriction-in-effect-error-on-server\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.utilewebsites.nl\/en\/"},{"@type":"ListItem","position":2,"name":"Knowledge Base","item":"https:\/\/www.utilewebsites.nl\/en\/knowledgebase\/"},{"@type":"ListItem","position":3,"name":"Error login to the admin at magento 2 | open_basedir restriction in effect error on server"}]},{"@type":"WebSite","@id":"https:\/\/www.utilewebsites.nl\/en\/#website","url":"https:\/\/www.utilewebsites.nl\/en\/","name":"Utilewebsites","description":"","publisher":{"@id":"https:\/\/www.utilewebsites.nl\/en\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.utilewebsites.nl\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.utilewebsites.nl\/en\/#organization","name":"Utilewebsites","url":"https:\/\/www.utilewebsites.nl\/en\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.utilewebsites.nl\/en\/#\/schema\/logo\/image\/","url":"https:\/\/www.utilewebsites.nl\/wp-content\/uploads\/2019\/08\/logo-Utilewebsites-2017.png","contentUrl":"https:\/\/www.utilewebsites.nl\/wp-content\/uploads\/2019\/08\/logo-Utilewebsites-2017.png","width":3000,"height":593,"caption":"Utilewebsites"},"image":{"@id":"https:\/\/www.utilewebsites.nl\/en\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/www.utilewebsites.nl\/en\/wp-json\/wp\/v2\/wz_knowledgebase\/4508","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.utilewebsites.nl\/en\/wp-json\/wp\/v2\/wz_knowledgebase"}],"about":[{"href":"https:\/\/www.utilewebsites.nl\/en\/wp-json\/wp\/v2\/types\/wz_knowledgebase"}],"author":[{"embeddable":true,"href":"https:\/\/www.utilewebsites.nl\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.utilewebsites.nl\/en\/wp-json\/wp\/v2\/comments?post=4508"}],"version-history":[{"count":1,"href":"https:\/\/www.utilewebsites.nl\/en\/wp-json\/wp\/v2\/wz_knowledgebase\/4508\/revisions"}],"predecessor-version":[{"id":4510,"href":"https:\/\/www.utilewebsites.nl\/en\/wp-json\/wp\/v2\/wz_knowledgebase\/4508\/revisions\/4510"}],"wp:attachment":[{"href":"https:\/\/www.utilewebsites.nl\/en\/wp-json\/wp\/v2\/media?parent=4508"}],"wp:term":[{"taxonomy":"wzkb_category","embeddable":true,"href":"https:\/\/www.utilewebsites.nl\/en\/wp-json\/wp\/v2\/wzkb_category?post=4508"},{"taxonomy":"wzkb_tag","embeddable":true,"href":"https:\/\/www.utilewebsites.nl\/en\/wp-json\/wp\/v2\/wzkb_tag?post=4508"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}