Fatal error: require_once(): Failed opening required ....inc/header.inc.php on line 159

Hello,

I have this error just after permission reversal:

Fatal error: require_once(): Failed opening required

'.........../htdocs/inc/version.inc.php'

(include_path='.:/usr/share/php') in /htdocs/website dot tld /inc/header.inc.php on line 159

More explanation in my first reply

  • 440
  • More
Replies (2)
    • in the the first step:

      Warning: file_exists(): open_basedir restriction in effect.

      File(/usr/local/bin/php) is not within the allowed path(s):

      (/HTDOCS:/htdocs:......./htdocs:....../tmp:....../exec_dir:....../php-session:/var/lib/lws/:/usr/base/var/lib/lws:/var/lib/apps/:/usr/base/var/lib/apps:/htdocs:/tmp:/exec_dir:/php-session:/usr/share/php:/etc/pki/tls/certs:/etc/ssl/certs:....../log/access.log:....../log/access.log:....../log/error.log:....../log/error.log)

      in /htdocs/website tld/install/index.php on line 285

      Warning: file_exists(): open_basedir restriction in effect.

      File(/usr/bin/php) is not within the allowed path(s):

      (/HTDOCS:/htdocs:....../htdocs:....../tmp:....../exec_dir:....../php-session:/var/lib/lws/:/usr/base/var/lib/lws:/var/lib/apps/:/usr/base/var/lib/apps:/htdocs:/tmp:/exec_dir:/php-session:/usr/share/php:/etc/pki/tls/certs:/etc/ssl/certs:....../log/access.log:....../log/access.log:....../log/error.log:....../log/error.log)

      in /htdocs/website tld/install/index.php on line 286

      Warning: popen() has been disabled for security reasons in /htdocs/website tld/install/index.php on line 287

      In the second step

      Path to php binary : /usr/local/bin/php not found

      ine the Third step

      inc : Writable (I can change it) So I click on NEXT

      in the step just after:

      I have error:

      Fatal error: require_once(): Failed opening required

      '.........../htdocs/inc/version.inc.php'

      (include_path='.:/usr/share/php') in /htdocs/website dot tld /inc/header.inc.php on line 159

      • I've read tips that talk about changing the root, but where or how?

        Thanks

        Login or Join to comment.