|  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
Status: Closed Package: Compile Failure
PHP Version: 4.3.3 OS: linux
Private report: No CVE-ID:
 [2003-09-23 10:56 UTC] doug at winweb dot net
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:

A possible solution would perhaps be to add
to the $ini_overwrites array in run_tests.php, but that caused another test to fail:
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=.' 
-c ./php.ini-dist
-c $(top_srcdir)/php.ini-dist

to line 58 of (or the equialent line in Makefile), but those changes seem to be ignored for some reason.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2003-09-23 22:28 UTC]
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
In case this was a documentation problem, the fix will show up soon at

In case this was a website problem, the change will show
up on the site and on the mirror sites in short time.
Thank you for the report, and for helping us make PHP better.

PHP Copyright © 2001-2015 The PHP Group
All rights reserved.
Last updated: Thu Nov 26 23:01:33 2015 UTC