WordPress.org

Ready to get started?Download WordPress

Forums

ispconfig and wordpress (500; file_exists(): open_basedir restriction in effect) (1 post)

  1. ternes3
    Member
    Posted 3 months ago #

    Hi,
    I´m trying to install wordpress to my private server. I´m using on this Server ispconfig all work fine until i try to install wordpress.
    Error Log: 2014/04/09 16:56:39 [error] 9660#0: *309 FastCGI sent in stderr: "PHP message: PHP Warning: File(/var/www/clients/client0/web1/wp-config.php) is not within the allowed path(s): (/var/www/clients/client0/web1/web:/var/www/clients/client0/web1/private:/var/www/clients/client0/web1/tmp:/var/www/xxxx/web:/srv/www/xxx/web:/usr/share/php5:/usr/share/php:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin) in /var/www/clients/client0/web1/web/wp-load.php on line 31" while reading response header from upstream.

    Line 31: } elseif ( file_exists( dirname(ABSPATH) . '/wp-config.php' ) && ! file_exists( dirname(ABSPATH) . '/wp-settings.php' ) ) { so i try
    var_dump(ABSPATH); result: string(34) "/var/www/clients/client0/web1/web/" this seems to be correct but why try wordpress to open var/www/clients/client0/web1/wp-config.php ?

    same error on ispconfig forums: http://www.howtoforge.com/forums/showthread.php?p=312359

    Thanks in advanced
    ternes3

Reply

You must log in to post.

About this Topic

Tags

No tags yet.