Skip to content

Commit b3b159c

Browse files
Also suggest display_errors=On and display_startup_errors=On
1 parent d819123 commit b3b159c

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

src/installation.rst

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -174,14 +174,17 @@ In this section we ensure that the PHP command-line interpreter is configured in
174174
The configuration directives shown below should be added to your PHP configuration file. Using ``php --ini`` we can ask the PHP
175175
command-line interpreter for the configuration file, or files, that is (are) being used.
176176

177-
We want to see all PHP errors, warnings, notices, etc. when we run our tests. The value used with ``error_reporting``
178-
is a bitmask that can be used to toggle the reporting of the various types of errors supported by PHP. Setting this to ``-1``
179-
ensures that we always see all errors:
177+
We want to see all PHP errors, warnings, notices, etc. when we run our tests.
180178

181179
.. code::
182180
181+
display_errors=On
182+
display_startup_errors=On
183183
error_reporting=-1
184184
185+
The value used with ``error_reporting`` is a bitmask that can be used to toggle the reporting of the various
186+
types of errors supported by PHP. Setting this to ``-1`` ensures that we always see all errors.
187+
185188
When Xdebug is loaded, we do not want it to print its exception traces while our tests are being executed:
186189

187190
.. code::

0 commit comments

Comments
 (0)