Can't speak to a Windows implementation, but on UNIX, unless you've
built (as in compiled from source) with MySQL support, the mysql
functions aren't part of the php program.
What does the output of phpinfo(); show on a web page or php -i in a
command shell show? If it doesn't list mysql, you'll have to rebuild
it.