open_basedir

when i want to go to phpmyadmin i see this message:

Warning: is_readable() [function.is-readable]: open_basedir restriction in effect. File(/etc/phpsysinfo/config.php) is not within the allowed path(s): (/var/www/vhosts/ehcp/) in /var/www/vhosts/ehcp/sysinfo/index.php on line 42

  • way 1: use http://yourip/phpsysinfo , not http://yourip/vhosts/ehcp/sysinfo (was in old ehcp's), in new ehcp's, phpsysinfo is installed through apt-get, so, uses system path..
  • way 2: copy /etc/phpsysinfo/config.php to ehcp/sysinfo dir, and include it from there..
  • Sorry someone can help me install phpSysInfo I have only one domain hosted on it, I'm very new to this please be as clear as possible Thanks and use google translator because my English is not very good but I am very interested in ECHP.

    What is your linux flavor?

    For ubuntu:

    http://www.ubuntugeek.com/display-your-system-information-uptimecpumemor...
    Let me know if i can help

    I made a shortcut phpSysInfo my httpdocs folder and writing http://www.saytekcorporation.com/phpsysinfo following appears:

    Warning: Unknown: open_basedir restriction in effect. File(/var/www/vhosts/saytek/saytekcorporation.com/httpdocs/phpsysinfo/index.php) is not within the allowed path(s): (/var/www/vhosts/saytek/saytekcorporation.com) in Unknown on line 0

    Warning: Unknown: failed to open stream: Operation not permitted in Unknown on line 0

    Fatal error: Unknown: Failed opening required '/var/www/vhosts/saytek/saytekcorporation.com/httpdocs/phpsysinfo/index.php' (include_path='.:/usr/share/php:/usr/share/pear') in Unknown on line 0