codeigniter php error log code example Example: display errors in codeigniter ini_set('display_errors', 1); inside config/database.php