Is there a php.ini directive that enables stack traces on errors? I already looked here: http://php.net/manual/en/ini.core.php. My shared-hosting does not have Xdebug inst
not directly but you can call debug_backtrace() OR catch your errors and have the exception class dump its stack trace with exception::getTrace();
debug_backtrace()
exception::getTrace();