MySQL is not enabled in PHP5 by default. You have to edit php.ini . Please see php documentation for more details.
Installing and upgrading help
WhyThe moodle installation not work with PHP5?
This discussion has been locked so you can no longer reply to it.