From owner-freebsd-ports@freebsd.org Mon May 15 13:00:40 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 6DF30D6D2CF for ; Mon, 15 May 2017 13:00:40 +0000 (UTC) (envelope-from tz@FreeBSD.org) 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 5BF19687 for ; Mon, 15 May 2017 13:00:40 +0000 (UTC) (envelope-from tz@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id 58555D6D2CE; Mon, 15 May 2017 13:00:40 +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 57FF3D6D2CD for ; Mon, 15 May 2017 13:00:40 +0000 (UTC) (envelope-from tz@FreeBSD.org) Received: from toco-domains.de (mail.toco-domains.de [IPv6:2a01:4f8:150:50a5::6]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2545A686 for ; Mon, 15 May 2017 13:00:40 +0000 (UTC) (envelope-from tz@FreeBSD.org) Received: from [0.0.0.0] (mail.toco-domains.de [IPv6:2a01:4f8:150:50a5::6]) by toco-domains.de (Postfix) with ESMTPA id ABF221AAF056; Mon, 15 May 2017 15:00:37 +0200 (CEST) Subject: Re: FreeBSD Port: lang/php71-extensions - missing php71-mssql To: Miroslav Lachman <000.fbsd@quip.cz> Cc: FreeBSD Ports References: <5919A4C3.7050503@quip.cz> From: Torsten Zuehlsdorff Message-ID: <5a47bff3-4e53-99ac-2b07-a677f042a588@FreeBSD.org> Date: Mon, 15 May 2017 15:00:37 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.1.0 MIME-Version: 1.0 In-Reply-To: <5919A4C3.7050503@quip.cz> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit 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: Mon, 15 May 2017 13:00:40 -0000 Hello Miroslav, On 15.05.2017 14:53, Miroslav Lachman wrote: > We are using php56-mssql for connecting to some MSSQL servers and we are > planning to upgrade to PHP 7.1 now but unfortunately I cannot find > php71-mssql port. > Why is it missing? Are there any problems to build this extension for > PHP 7.1? > > I search the internet and didn't found any problem reports for this. > > PHP manual still shows this http://php.net/manual/en/mssql.requirements.php If you read the manual this section is very important: This extension is not available anymore on Windows with PHP 5.3 or later. (Don't ask me why its available up to PHP 5.6) When dealing with MS SQL you have (out of my limited experience - i avoid it when possible) basically two options: - Using odbc (http://php.net/manual/en/book.uodbc.php) - Using PDO-MS SQL (http://php.net/manual/en/ref.pdo-sqlsrv.php) But one step back: i'm not really sure why there is no port and FreeTDS. If you have some time i will check if i can recreate the php56-mssql port for php70 and php71. After this i can give an answer with greater detail. Greetings, Torsten