Upgrade PHP to 7.0

Jack L. xxjack12xx at gmail.com
Sun Jun 4 19:41:27 UTC 2017


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 <pschmehl_lists at tx.rr.com> wrote:
> --On June 4, 2017 at 9:28:29 PM +0200 Kurt Jaeger <lists at opsec.eu> 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
>
> _______________________________________________
> freebsd-ports at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"


More information about the freebsd-ports mailing list