Logged In: NO

this error mean that php is compiled without mysql support
to be sure just use phpinfo();

to get mysql work you must add this directive when compiling php
--with-mysql=/dir
if you are using RPM's you need to find the
php-4.1.2-mysql.rpm (or other package having a similar name
depending on your distrib)
and install it
shell# rpm -ivh package.rpm
that's all