WordPress shows 500 Internal Server Error on Windows: open_basedir restriction in effect

Follow

Comments

3 comments

  • Avatar
    Joseph Anand
    I have the same error in stylemixtheme activate. I tried as your resolution but unable to fix this issue. Could you tell me how to solve the issue?

    The error as

    PHP Warning: is_readable(): open_basedir restriction in effect. File(G:\PleskVhosts\globalmastersdoc.com\httpdocs\TaseesDemo/wp-content/plugins/G:/PleskVhosts/globalmastersdoc.com/httpdocs/TaseesDemo/wp-content/themes/consulting/admin/includes/envato-market/languages/envato-market-en_US.mo) is not within the allowed path(s): (G:/PleskVhosts//globalmastersdoc.com\;C:\Windows\Temp\) in G:\PleskVhosts\globalmastersdoc.com\httpdocs\TaseesDemo\wp-includes\l10n.php on line 584
  • Avatar
    Joseph Anand

    Solved. First I have changed only open_basedir in Domain > example.com > PHP Settings. Now I I have Changed the open_basedir parameter in my .user.php also like  open_basedir="none"

     

    Now it is working fine

  • Avatar
    Denis Bykov

    @Joseph Anand
    Thank you for the feedback. I added notice about '
    .user.ini' file to the article.

Please sign in to leave a comment.

Have more questions? Submit a request