Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Jun 2017 23:16:24 +0300
From:      abi <abi@abinet.ru>
To:        Paul Schmehl <pschmehl_lists@tx.rr.com>, Kurt Jaeger <lists@opsec.eu>
Cc:        freebsd-ports <ports@freebsd.org>
Subject:   Re: Upgrade PHP to 7.0
Message-ID:  <3e1a4c52-d003-bbdd-b806-d9944b85ee06@abinet.ru>
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


On 04.06.2017 22:39, Paul Schmehl 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?

You must fix the code and migrate to mysqli or pdo, mysql was deprecated 
for more than 5 years.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3e1a4c52-d003-bbdd-b806-d9944b85ee06>