Categories

Featured templates

Drupal Troubleshooter. The testing framework requires the PHP open_basedir restriction to be disabled.

Rating: 4.0/5. From 1 vote.
Please wait...

This tutorial shows how to avoid the "The testing framework requires the PHP open_basedir restriction to be disabled" error message when trying to update database using update.php file.

1) Open "modules/simpletest/simpletest.install" file.

2) Locate and delete/comment out the following code.

if ($open_basedir) {
  $requirements['php_open_basedir']['severity'] = REQUIREMENT_ERROR;
  $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' => 'http://php.net/manual/en/ini.core.php#ini.open-basedir'));
  }

3) Save the file, update the database and revert your changes.

Top Drupal Themes
This entry was posted in Drupal Tutorials and tagged archived_tutorial, drupal, error, open_basedir, update.php. Bookmark the permalink.

Submit a ticket

If you are still unable to find a sufficient tutorial regarding your issue please use the following link to submit a request to our technical support team. We'll provide you with our help and assistance within next 24 hours: Submit a ticket