0

I can't enable SimpleTest due to an open_basedir restriction being in force for my Drupal7 installaton which resides on a Linux server running PHP 5.2.12. I found the directive under my PHP.INI file but it is already commented out there.

When I try to enable SimpleTest in my Modules config, I see the following error:

"The testing framework requires the PHP open_basedir restriction to be disabled. Check your webserver configuration or contact your web host. (Currently using PHP open_basedir restriction Enabled)"

What can I do to overcome this? A search on the web so far has not been overly helpful.

0

Sorry that i don't comment... have not enough points

Be shure u have the right php.ini, on some systems reside more then one.

Check with a phpinfo() file, after config change reload and look at the phpinfo() page if it is really disabled.

2
  • Thanks - I have tried using "find / -name php.ini" which listed 4 occurrences of php.ini, one being for Plesk which I was expecting. I had a look through all of them and in all cases, open_basedir was commented out. So I don't understand why it thinks it's enabled?
    – Nick Lewis
    Sep 20 '12 at 7:51
  • do like i said and use a "blank" phpinfo.php file with phpinfo(); function call , you will see which php.ini is used and if open_basedir is enabled or not Sep 20 '12 at 12:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.