Print errors to screen on default php5 in Drupal


/ Published in: PHP
Save to your folder(s)

Add these lines to Drupals settings.php. Probably works on other systems, then Drupal too.


Copy this code and paste it in your HTML
  1. <?php
  2. ini_set('error_reporting', E_ALL);
  3. ini_set('display_errors', 'stdout');
  4. ?>

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.