Upgrade PHP to 7.0

abi abi at abinet.ru
Sun Jun 4 20:16:34 UTC 2017



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

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


More information about the freebsd-ports mailing list