phpMyAdmin installation fails due to open_basedir restriction

Discussion in 'Installation/Configuration' started by kidalabama, Oct 6, 2008.

  1. kidalabama

    kidalabama New Member

    yes true i have got new problem. i used not ispconfig pkg for phpmyadmin and in new configfiguration my phpmyadmin crashed.

    the message is:
    Warning: Unknown: open_basedir restriction in effect. File(/usr/share/phpmyadmin/index.php) is not within the allowed path(s): (/var/www/web1) 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 '/usr/share/phpmyadmin/index.php' (include_path='.') in Unknown on line 0

    and same problem with zoneminder program...
    what is this problem resolution ?
     
    Last edited: Oct 6, 2008
  2. m411b

    m411b New Member

    Has there been a solution to this yet?
     
  3. madmucho

    madmucho ISPConfig Developer ISPConfig Developer

    try this

    if this host have php safe mode disable it.
    open base dir restriction is directive that told php in which folder that host can work an include files, if you include files outside this path you will get this error message, that is one security concept in php vhost env. Try install all files inside your web1/web folder and run again.
     

Share This Page