|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2012-06-28 10:43 UTC] icukeng at gmail dot com
[2017-01-10 07:58 UTC] kalle@php.net
-Status: Open
+Status: Suspended
[2017-01-10 07:58 UTC] kalle@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 17:00:01 2025 UTC |
Description: ------------ If you compile a "file1.php" which requires a file "file2.php" whith a relative path, a bug appears if you change path of script. Test script: --------------- In "/www/file1.php" : <?php include('file2.php'); //relative path ?> After compiling : - if you execute "php -q /www/file1.php" >> no error - if you move "www" to "wwwtest" and execute "php -q /wwwtest/file1.php" >> error : "PHP Fatal error: require_once(): Failed .........in /www/file1.php". Paths are wrote on hard in the compiled file...