You can't find it: the mysql extension was removed from PHP's core with PHP 7.0.0 (you can't miss that in its doc). Note that it was officialy deprecated since PHP 5.5.0 (you are many years late).
If you absolutely have to use it instead of migrating to mysqli or pdo, you have to install pecl-mysql (by hand, it is not in the ports tree - never tested) or dowgrade to PHP 5.6.
The mysql & mysqli extensions are *nearly* identical. I think last time I looked there were resources on the net that listed the few differences and guides on migrating. If you want to use PHP7 you're best off moving to mysqli rather than using less well supported additional plugins.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.