#25635 [Asn->Csd]: make test fails if include_path does not contain '.'
| From: | iliaa@php.net | Date: | Wed, 24 Sep 2003 02:28:14 +0000 |
| Subject: | #25635 [Asn->Csd]: make test fails if include_path does not contain '.' | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-48023@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: Assigned
+Status: Closed
Bug Type: Compile Failure
Operating System: linux
PHP Version: 4.3.3
Assigned To: iliaa
New Comment:
This bug has been fixed in CVS.
In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.
In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
Thank you for the report, and for helping us make PHP better.
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