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
