PHP5 isn’t a database. It’s the scripting language for website content.
You can switch right over to PHP5 in the panel, and WordPress will probably be happier. I’ve done this on several sites. In fact, I’ve had to revert back to PHP4 in a couple of cases (not WordPress) where my software wasn’t PHP5 compatible and there was no loss of data.