php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #25635 make test fails if include_path does not contain '.'
Submitted: 2003-09-23 10:56 UTC Modified: 2003-09-23 22:28 UTC
From: doug at winweb dot net Assigned: iliaa (profile)
Status: Closed Package: Compile Failure
PHP Version: 4.3.3 OS: linux
Private report: No CVE-ID: None
 [2003-09-23 10:56 UTC] 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.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-09-23 22:28 UTC] iliaa@php.net
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.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 12:01:27 2024 UTC