From owner-freebsd-ports@freebsd.org Sun Jun 4 20:16:34 2017 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5CF9FBD3D6C for ; Sun, 4 Jun 2017 20:16:34 +0000 (UTC) (envelope-from abi@abinet.ru) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 4423682AB7 for ; Sun, 4 Jun 2017 20:16:34 +0000 (UTC) (envelope-from abi@abinet.ru) Received: by mailman.ysv.freebsd.org (Postfix) id 4096DBD3D6B; Sun, 4 Jun 2017 20:16:34 +0000 (UTC) Delivered-To: ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 40230BD3D6A for ; Sun, 4 Jun 2017 20:16:34 +0000 (UTC) (envelope-from abi@abinet.ru) Received: from mail.abinet.ru (mail.abinet.ru [84.52.119.162]) by mx1.freebsd.org (Postfix) with ESMTP id F2FEA82AB6 for ; Sun, 4 Jun 2017 20:16:33 +0000 (UTC) (envelope-from abi@abinet.ru) Received: from sphinx.abinet.ru (unknown [192.168.2.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.abinet.ru (Postfix) with ESMTPSA id AD5D8FC49; Sun, 4 Jun 2017 20:16:25 +0000 (UTC) Subject: Re: Upgrade PHP to 7.0 To: Paul Schmehl , Kurt Jaeger Cc: freebsd-ports References: <4sk8jctlap0qlvs8m5r52suome2hb5tgas@4ax.com> <20170604192828.GH43031@home.opsec.eu> <9D435EF518106E8DEECE5268@Pauls-MacBook-Pro.local> From: abi Message-ID: <3e1a4c52-d003-bbdd-b806-d9944b85ee06@abinet.ru> Date: Sun, 4 Jun 2017 23:16:24 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 MIME-Version: 1.0 In-Reply-To: <9D435EF518106E8DEECE5268@Pauls-MacBook-Pro.local> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=abinet.ru; s=dkim; t=1496607391; h=from:subject:date:message-id:to:cc:mime-version:content-type:content-transfer-encoding:in-reply-to:references; bh=H+nxOwstYvjatrE/HPoQo8tvXAxnd9LHVBqNTqMe9Co=; b=a/TJTNgqX0wbPjXHxO/Mo2rcmT8uk+FGttaXZIbG0eaAACwMcZlFennUqWe9FTmBfRLBXR //pTAPCV+AkfN2roKOnCV5lGaO/Qq5CiZo7r0Hx12WTPxEvwS2xc/l7E1l5sNXq6u6oOBq /96EaFGxx+JT7Xfbs8Es+Iej3qtvTQw= X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Jun 2017 20:16:34 -0000 On 04.06.2017 22:39, Paul Schmehl wrote: > --On June 4, 2017 at 9:28:29 PM +0200 Kurt Jaeger 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.