phpMyAdmin and Squirrel not working

Discussion in 'Installation/Configuration' started by bigmatlem, Sep 12, 2010.

  1. bigmatlem

    bigmatlem New Member

    I get errors in the logs and I for the life of me can't figure this thing out. Take a look and see what you think. I do believe i disabled mod_security in apache so that shouldn't be an issue but it still may be. Any help is appreciated.


    [Sat Sep 11 17:59:37 2010] [error] [client 67.103.185.253] PHP Warning: Unknown
    : open_basedir restriction in effect. File(/usr/share/phpMyAdmin/index.php) is n
    ot within the allowed path(s): (/var/www/clients/client1/web1/web:/var/www/clien
    ts/client1/web1/tmp:/var/www/zenithmanagedit.com/web:/srv/www/zenithmanagedit.co
    m/web:/usr/share/php5:/tmp:/usr/share/phpmyadmin) in Unknown on line 0
    [Sat Sep 11 17:59:37 2010] [error] [client 67.103.185.253] PHP Warning: Unknown
    : failed to open stream: Operation not permitted in Unknown on line 0
    [Sat Sep 11 17:59:37 2010] [error] [client 67.103.185.253] PHP Fatal error: Unk
    nown: Failed opening required '/usr/share/phpMyAdmin/index.php' (include_path='.
    :/usr/share/pear:/usr/share/php') in Unknown on line 0
    [Sat Sep 11 17:59:45 2010] [error] [client 67.103.185.253] PHP Warning: Unknown
    : open_basedir restriction in effect. File(/usr/share/phpMyAdmin/index.php) is n
    ot within the allowed path(s): (/var/www/clients/client1/web1/web:/var/www/clien
    ts/client1/web1/tmp:/var/www/zenithmanagedit.com/web:/srv/www/zenithmanagedit.co
    m/web:/usr/share/php5:/tmp:/usr/share/phpmyadmin) in Unknown on line 0
    [Sat Sep 11 17:59:45 2010] [error] [client 67.103.185.253] PHP Warning: Unknown
    : failed to open stream: Operation not permitted in Unknown on line 0
    [Sat Sep 11 17:59:45 2010] [error] [client 67.103.185.253] PHP Fatal error: Unk
    nown: Failed opening required '/usr/share/phpMyAdmin/index.php' (include_path='.
    :/usr/share/pear:/usr/share/php') in Unknown on line 0
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Seems as if you use the hostname of a website and not the IP address of the server. phpmyadmin and squirrelmail are installed into the so named "default vhost" of the webserver, this means that you have to use the IP address to access them and not the host of a website. If you use the host of a website, you will get a open basedir error as you did as the sources of these apps are not located inside the website root directory.
     

Share This Page