/ home / php / display php errors even if the server is not setup to show them /

Display PHP Errors even if the server is not setup to show them

11:14 pm, February 25, 2016 618 39 0.2 @ 200 wpmrate up KruXoR
1

Original Post Date: 2:25 am, September 26, 2014

Can be handy for quick debugging of a php app these 2 lines usually do it.

error_reporting(-1);
ini_set('display_errors', 'On');

11:14 pm, February 25, 2016 618 39

Comments

Reports

Add Report

Report's

KruXoR

This is a site where i basically just post whatever i feel like at the time, it has no one particular topic but usually. Just my ideas and links and random bits of code that i find.

Follow Me..

@KruXoR

Minecraft

Looking for the kruxor minecraft server mc.kruxor.com? we have migrated it to... icekraft.com if you want to play on there just connect to play.icekraft.com:25535 or mc.kruxor.com should also still work.

Favorite Links