Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Jun 2017 12:40:43 -0700
From:      "Jack L." <xxjack12xx@gmail.com>
To:        Paul Schmehl <pschmehl_lists@tx.rr.com>
Cc:        Kurt Jaeger <lists@opsec.eu>, freebsd-ports <ports@freebsd.org>
Subject:   Re: Upgrade PHP to 7.0
Message-ID:  <CALeGphz6mj=00jQZ4XKAoVQo7OafxQPCiZtQ5uqGkv1Yz4G9vA@mail.gmail.com>
In-Reply-To: <9D435EF518106E8DEECE5268@Pauls-MacBook-Pro.local>
References:  <BF1F2ED7CECE0B683C1C6B2C@Pauls-MacBook-Pro.local> <4sk8jctlap0qlvs8m5r52suome2hb5tgas@4ax.com> <BE6EE6D6C247601EA223224F@Pauls-MacBook-Pro.local> <20170604192828.GH43031@home.opsec.eu> <9D435EF518106E8DEECE5268@Pauls-MacBook-Pro.local>

next in thread | previous in thread | raw e-mail | index | archive | help
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@tx.rr.com> wrote:
> --On June 4, 2017 at 9:28:29 PM +0200 Kurt Jaeger <lists@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@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALeGphz6mj=00jQZ4XKAoVQo7OafxQPCiZtQ5uqGkv1Yz4G9vA>