From owner-freebsd-ports@freebsd.org Mon May 15 14:46: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 28AD6D6EB39 for ; Mon, 15 May 2017 14:46:40 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) 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 1443A322 for ; Mon, 15 May 2017 14:46:40 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: by mailman.ysv.freebsd.org (Postfix) id 138FBD6EB38; Mon, 15 May 2017 14:46: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 13332D6EB37 for ; Mon, 15 May 2017 14:46:40 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) (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 CC5BB321; Mon, 15 May 2017 14:46:39 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from elsa.codelab.cz (localhost [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id E20D428458; Mon, 15 May 2017 16:46:35 +0200 (CEST) Received: from illbsd.quip.test (ip-86-49-16-209.net.upcbroadband.cz [86.49.16.209]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id 98DDF28450; Mon, 15 May 2017 16:46:34 +0200 (CEST) Subject: Re: FreeBSD Port: lang/php71-extensions - missing php71-mssql To: Torsten Zuehlsdorff Cc: FreeBSD Ports References: <5919A4C3.7050503@quip.cz> <5a47bff3-4e53-99ac-2b07-a677f042a588@FreeBSD.org> From: Miroslav Lachman <000.fbsd@quip.cz> Message-ID: <5919BF4A.1090003@quip.cz> Date: Mon, 15 May 2017 16:46:34 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:42.0) Gecko/20100101 Firefox/42.0 SeaMonkey/2.39 MIME-Version: 1.0 In-Reply-To: <5a47bff3-4e53-99ac-2b07-a677f042a588@FreeBSD.org> Content-Type: text/plain; charset=UTF-8; format=flowed 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 14:46:40 -0000 Torsten Zuehlsdorff wrote on 2017/05/15 15:00: >> 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. Yes, I know that, but the important part is "Windows". I think it was due to some licence / patent issue. For Windows there is SQLSRV provided by Microsoft for a long time. > (Don't ask me why its available up to PHP 5.6) Because limitation was for Windows and not unix-like systems :) > 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) I know about this but it is very bad for all of our legacy projects and webapplications - nobody want to rewrite them. > 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. It would be very nice if we can continue to use mssql_connect and other functions from phpXX-mssql extension. Thanks in advance Miroslav Lachman