[eluser]Unknown[/eluser]
Hi,
I just had the task of deploying a Code Igniter based application, and due to a lack of attention it took me an hour adventuring it's core to discover that the application wasn't working because PHP's MySQL extension was not installed. So, I invested some more minutes to generate a patch that would save other asleep people from doing the same mistake.
It's very basic, the only thing it does is checking the existence of mysql_connect and other database connection functions before trying to connect and reports an error in case they don't exist. It's been tested for mysql only, but I see no reason other than typos for not working for all database types.
cheers
Luis