Re: running test without the installed php.ini?
| From: | Derick Rethans | Date: | Sun, 15 Dec 2002 13:18:15 +0000 |
| Subject: | Re: running test without the installed php.ini? | ||
| References: | 1 | Groups: | php.qa |
| Request: | Send a blank email to php-qa+get-7273@lists.php.net to get a copy of this message | ||
On Sun, 15 Dec 2002, Thomas Seifert wrote:
> I would like to run your testsuite on my production-box (yeah I know, not recommended),
> but it uses my local php.ini (/usr/local/lib/php.ini) and this contains php-accelerator-support
> which doesn't work with php-4.3. and also I wouldn't like to use my current php.ini
> for the test-suite, really ;-).
>
> Any idea on how I could change the php.ini used for the tests?
Instead of "make test"
do:
# TEST_PHP_EXECUTABLE=sapi/cli/php sapi/cli/php -c /path/to/inifile/ run-tests.php
Derick
--
-------------------------------------------------------------------------
Derick Rethans http://derickrethans.nl/
PHP Magazine - PHP Magazine for Professionals http://php-mag.net/
-------------------------------------------------------------------------