What kind of a database call are you using, mysql_connect(), pdo, mysqli, postgresql?
On Sun, May 6, 2012 at 6:34 AM, Timothy Humphrey <[email protected] > wrote: > Check the error messaging setting in your php.ini, as it will dictate how > severe an error has to be, in order to show it on the screen and shut > things down. > > Also, if your query function call starts with an @, it'll suppress any > errors and keep rolling. > > Thanks. > -Timothy > > Sent from my iPhone > > On May 5, 2012, at 7:26 PM, Wade Preston Shearer <[email protected]> > wrote: > > > I have a web server that is crashing when it's unable to connect to an > external database. What options do I have to keep Apache running and simply > display an error or no data or something instead of crashing? > > > > _______________________________________________ > > > > UPHPU mailing list > > [email protected] > > http://uphpu.org/mailman/listinfo/uphpu > > IRC: #uphpu on irc.freenode.net > > _______________________________________________ > > UPHPU mailing list > [email protected] > http://uphpu.org/mailman/listinfo/uphpu > IRC: #uphpu on irc.freenode.net > _______________________________________________ UPHPU mailing list [email protected] http://uphpu.org/mailman/listinfo/uphpu IRC: #uphpu on irc.freenode.net
