in PHP5 l'estensione MySQL non è più caricata automaticamente come nel 4, devi farlo te nel php.ini