mysql_connect is obsolete in php 7+, you need to change your code to use mysqli_connect.
On Sun, Jun 4, 2017 at 12:39 PM, Paul Schmehl <[email protected]> wrote: > --On June 4, 2017 at 9:28:29 PM +0200 Kurt Jaeger <[email protected]> wrote: > >> Hi! >> >>> PHP Fatal error: Uncaught Error: Call to undefined function >>> mysql_connect() >>> >>> I noticed that there was no php70-mysql extension any more. Is there >>> something that replaces that? >> >> >> databases/php70-mysqli >> >> Btw, you can migrate to php71, as well. Not much difference. > > > That was installed. Is there a configuration option that needs to be set or > changed? > > Paul Schmehl, Retired > As if it wasn't already obvious, my opinions > are my own and not those of my employer. > ******************************************* > "It is as useless to argue with those who have > renounced the use of reason as to administer > medication to the dead." Thomas Jefferson > "There are some ideas so wrong that only a very > intelligent person could believe in them." George Orwell > > _______________________________________________ > [email protected] mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "[email protected]" _______________________________________________ [email protected] mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "[email protected]"
