#25635 [Opn->Asn]: make test fails if include_path does not contain '.'
| From: | iliaa@php.net | Date: | Tue, 23 Sep 2003 18:51:33 +0000 |
| Subject: | #25635 [Opn->Asn]: make test fails if include_path does not contain '.' | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-48005@lists.php.net to get a copy of this message | ||
ID: 25635
Updated by: iliaa@php.net
Reported By: doug at winweb dot net
-Status: Open
+Status: Assigned
Bug Type: Compile Failure
Operating System: linux
PHP Version: 4.3.3
-Assigned To:
+Assigned To: iliaa
Previous Comments:
------------------------------------------------------------------------
[2003-09-23 10:56:23] doug at winweb dot net
Description:
------------
make test fails on a number of counts if a php.ini file already in use
in /usr/local/lib/php.ini (or wherever the default one is) does not
include . in the include_path.
An example file that cannot be included is here:
ext/standard/tests/aggregation/aggregate.lib
A possible solution would perhaps be to add
include_path=.
to the $ini_overwrites array in run_tests.php, but that caused another
test to fail:
/usr/local/src/php-4.3.3/tests/func/007.phpt
ini_restore() does not work.
So 007.phpt would then need to set and restore a php.ini setting other
than include_path.
I first tried adding
-d 'include_path=.'
or
-c ./php.ini-dist
or
-c $(top_srcdir)/php.ini-dist
to line 58 of Makefile.global (or the equialent line in Makefile), but
those changes seem to be ignored for some reason.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=25635&edit=1