xref: /PHP-7.3/server-tests-config.php (revision 1c850bfc)
1<?php
2/* this file may be duplicated to provide testing for
3   multiple php binaries or configurations.  It is used
4   with the -c option on server-tests.php.  All these
5   settings will also go into the environment for tests
6   that are directly executed, so you can also set things
7   like PHPRC here to force an executable to use a
8   specific php.ini file. */
9
10$conf = array(
11/* path to the php source tree */
12'TEST_PHP_SRCDIR'      =>    NULL,
13
14/* executable that will be tested.  Not used for
15   web based tests */
16'TEST_PHP_EXECUTABLE'  =>    NULL,
17
18/* php.ini to use when executing php */
19'PHPRC'                =>    NULL,
20
21/* log format */
22'TEST_PHP_LOG_FORMAT'  =>    'LEODC',
23
24/* debugging detail in output. */
25'TEST_PHP_DETAILED'    =>    0,
26
27/* error style for editors or IDE's */
28'TEST_PHP_ERROR_STYLE' =>    'EMACS',
29
30'REPORT_EXIT_STATUS'   =>    0,
31'NO_PHPTEST_SUMMARY'   =>    0,
32
33/* don't ask, and don't send results to QA if true */
34'NO_INTERACTION'       =>    true,
35
36/* base url prefixed to any requests */
37'TEST_WEB_BASE_URL'    =>    NULL,
38
39/* if set, copy phpt files into this directory,
40   which should be accessible via an http server.  The
41   TEST_WEB_BASE_URL setting should be the base url
42   to access this path.  If this is not used,
43   TEST_WEB_BASE_URL should be the base url pointing
44   to TEST_PHP_SRCDIR, which should then be accessible via
45   an http server.
46
47   An example would be:
48   TEST_WEB_BASE_URL=http://localhost/test
49   TEST_BASE_PATH=/path/to/htdocs/test
50*/
51'TEST_BASE_PATH'   =>    NULL,
52
53/* file extension of pages requested via http
54   this allows for php to be configured to parse
55   extensions other than php, useful for multiple
56   configurations under a single webserver */
57'TEST_WEB_EXT'         =>    'php',
58
59/* if true doesn't run tests, just outputs executable info */
60'TEST_CONTEXT_INFO'    =>    false,
61
62/* : or ; separated list of paths */
63'TEST_PATHS'           =>    NULL
64/* additional configuration items that may be set
65   to provide proxy support for testes:
66  timeout
67  proxy_host
68  proxy_port
69  proxy_user
70  proxy_pass
71*/
72);
73
74?>
75