MySQL support in PHP

After wasting half an hour trying to figure out why my PHP files don’t work for connecting to MySQL in my computer (while they work in webserver), I finally found out that my PHP doesn’t have the MySQL support enabled.

Which I found a bit weird, I thought it was turned on by default (I am using Mandrake 10).

Learnt a new command called “urpmi” - is this for updating via rpm?