Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable PHP error reporting when in dev deployment #79

Open
rht opened this issue Nov 25, 2021 · 0 comments
Open

Enable PHP error reporting when in dev deployment #79

rht opened this issue Nov 25, 2021 · 0 comments

Comments

@rht
Copy link
Collaborator

rht commented Nov 25, 2021

See https://www.mediawiki.org/wiki/Manual:How_to_debug

To see PHP errors, add this to the second line from the top (right below the <?php) of LocalSettings.php:
error_reporting( -1 );
ini_set( 'display_errors', 1 );

Or set it in php.ini:
error_reporting = E_ALL
display_errors = On

Or set in .htaccess:
php_value error_reporting -1
php_flag display_errors On
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant