{"id":17459,"date":"2012-04-17T04:25:32","date_gmt":"2012-04-17T08:25:32","guid":{"rendered":"http:\/\/www.templatemonster.com\/help\/?p=17459"},"modified":"2017-02-22T05:16:15","modified_gmt":"2017-02-22T10:16:15","slug":"drupal-troubleshooter-the-testing-framework-requires-the-php-open_basedir-restriction-to-be-disabled","status":"publish","type":"post","link":"https:\/\/www.templatemonster.com\/help\/drupal-troubleshooter-the-testing-framework-requires-the-php-open_basedir-restriction-to-be-disabled.html","title":{"rendered":"Drupal Troubleshooter. The testing framework requires the PHP open_basedir restriction to be disabled."},"content":{"rendered":"<p>\r\n<p>This tutorial shows how to avoid the &quot;The testing framework requires the PHP open_basedir restriction to be disabled&quot; error message when trying to update database using <strong>update.php<\/strong> file.<\/p>\r\n<p>1) Open <strong>&quot;modules\/simpletest\/simpletest.install&quot;<\/strong> file.<\/p>\r\n<p>2) Locate and <strong>delete\/comment out<\/strong> the following code. <\/p>\r\n<pre class=\"brush:php\">\r\nif ($open_basedir) {\r\n  $requirements['php_open_basedir']['severity'] = REQUIREMENT_ERROR;\r\n  $requirements['php_open_basedir']['description'] = $t('The testing framework requires the PHP open_basedir restriction to be disabled. Check your webserver configuration or contact your web host.', array('@open_basedir-url' =&gt; 'http:\/\/php.net\/manual\/en\/ini.core.php#ini.open-basedir'));\r\n  }\r\n<\/pre>\r\n<p>3) Save the file, update the database and revert your changes. <\/p>\r\n<\/p>\r\n<\/p>\r\n<p><\/p>","protected":false},"excerpt":{"rendered":"<p>This tutorial shows how to avoid the error message when trying to update database using update.php file.<\/p>\n","protected":false},"author":7,"featured_media":16785,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[723],"tags":[2564,593,691,1185,1186],"class_list":["post-17459","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-drupal-tutorials","tag-archived_tutorial","tag-drupal-2","tag-error","tag-open_basedir","tag-update-php"],"_links":{"self":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/17459","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/comments?post=17459"}],"version-history":[{"count":0,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/17459\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media\/16785"}],"wp:attachment":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media?parent=17459"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/categories?post=17459"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/tags?post=17459"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}