From:             doug at winweb dot net
Operating system: linux
PHP version:      4.3.3
PHP Bug Type:     *Compile Issues
Bug description:  make test fails if include_path does not contain '.'

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 bug report at http://bugs.php.net/?id=25635&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=25635&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=25635&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=25635&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=25635&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=25635&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=25635&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=25635&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=25635&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=25635&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=25635&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=25635&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=25635&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=25635&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=25635&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=25635&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=25635&r=float

Reply via email to