from
http://id2.php.net/manual/en/ref.mysql.php :
PHP 5+
MySQL is not enabled by default, nor is the MySQL library bundled with PHP. Read this FAQ for details on why. Use the --with-mysql[=DIR] configure option to include MySQL support. You can download headers and libraries from ยป MySQL.