Article ID: 128361, created on Feb 17, 2016, last review on Feb 17, 2016

  • Applies to:
  • Plesk 11.5 for Linux


Website shows blank page. The error in /var/www/vhosts/domain.tld/logs/error_log:

[Sun Feb 14 15:41:46 2016] [error] [client] PHP Fatal error:  Unknown: Failed opening required '/var/www/vhosts/domain.tld/httpdocs/index.php' (include_path='.:') in Unknown on line 0
[Sun Feb 14 15:41:50 2016] [error] [client] PHP Warning:  Unknown: open_basedir restriction in effect. File(/var/www/vhosts/domain.tld/httpdocs/index.php) is not within the allowed path(s): ({WEBSPACEROOT}{/}{:}{TMP}{/}) in Unknown on line 0

Domain level php.ini file contains template value for open_basedir parameter:

# cat /var/www/vhosts/system/domain.tld/etc/php.ini | grep open_base
open_basedir = {WEBSPACEROOT}{/}{:}{TMP}{/}


Customized /usr/local/psa/admin/plib/PhpSettings/Config.php file.


  1. Download plesk-core package from, e.g.:

    # mkdir plesk_core
    # cd plesk_core
    # wget 
  2. Extract files from the package: # rpm2cpio plesk-core-11.5.30-rhel5.build115130819.13.x86_64.rpm | cpio -idmv

  3. Create backup of /usr/local/psa/admin/plib/PhpSettings/Config.php :

    # cp /usr/local/psa/admin/plib/PhpSettings/Config.php{,.backup}
  4. Replace Config.php with extraced one:

    # cp /path_to_plesk_core/plesk_core/usr/local/psa/admin/plib/PhpSettings/Config.php /usr/local/psa/admin/plib/PhpSettings/Config.php
  5. After that update PHP settings for the domain in Home > Subscriptions > domain.tld > Websites & domains > PHP settings

Search Words


Website shows blank page

open_basedir restriction in effect

29d1e90fd304f01e6420fbe60f66f838 56797cefb1efc9130f7c48a7d1db0f0c a914db3fdc7a53ddcfd1b2db8f5a1b9c 01bc4c8cf5b7f01f815a7ada004154a2 0a53c5a9ca65a74d37ef5c5eaeb55d7f

Email subscription for changes to this article
Save as PDF