Support » Localhost Installs » ispconfig and wordpress (500; file_exists(): open_basedir restriction in effect)

  • 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:

    Thanks in advanced

  • The topic ‘ispconfig and wordpress (500; file_exists(): open_basedir restriction in effect)’ is closed to new replies.