In order to have these functions available, you must compile PHP
with MySQL support.
This extension was deprecated in PHP 5.5.0, and it was removed
in PHP 7.0.0. Instead, the
should be used. See also
choosing an API guide. Alternatives to this function