Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter gumi_kr

    (@gumi_kr)

    I checked it and it’s not that. I think problem is in apache config, but I don’t know how to change it. To make the problem simplier I have created two files:

    1) test.php:
    <?php
    require(‘test2.php’);
    ?>

    2) test2.php
    <?php
    print(‘akuku’)
    ?>

    when I copy those files to /home/***/ and open test.php everything is fine

    when I copy them to /home/***/wordpress/ i get the same error as before ??

    Thread Starter gumi_kr

    (@gumi_kr)

    full warning:

    Warning: main() [function.main]: open_basedir restriction in effect. File(./wp-blog-header.php) is not within the allowed path(s): (/usr/local/share/httpd/htdocs/home/:/export/share/httpd/htdocs/home/:/var/tmp/) in /export/share/httpd/htdocs/home/***/wordpress/index.php on line 17

    Warning: main(./wp-blog-header.php) [function.main]: failed to open stream: Not owner in /export/share/httpd/htdocs/home/***/wordpress/index.php on line 17

    Fatal error: main() [function.require]: Failed opening required ‘./wp-blog-header.php’ (include_path=’.:/usr/local/share/pear’) in /export/share/httpd/htdocs/home/***/wordpress/index.php on line 17

Viewing 2 replies - 1 through 2 (of 2 total)