Package Details: php-sqlsrv 5.11.1-1

Git Clone URL: (read-only, click to copy)
Package Base: php-sqlsrv
Description: Microsoft SQL Server Drivers for PHP.
Upstream URL:
Licenses: MIT
Submitter: mtorromeo
Maintainer: tompear
Last Packager: tompear
Votes: 6
Popularity: 0.000000
First Submitted: 2016-10-06 13:45 (UTC)
Last Updated: 2023-09-22 06:23 (UTC)

Dependencies (2)

Required by (0)

Sources (1)

Latest Comments

1 2 3 Next › Last »

andoni commented on 2023-03-16 23:24 (UTC)

New Stable relase 5.11.0, with official PHP 8.2 support

tompear commented on 2022-03-10 14:22 (UTC)

I am not using this package but there is an update. Bon appétit.

andoni commented on 2022-01-31 19:45 (UTC) (edited on 2022-02-02 11:37 (UTC) by andoni)

New Stable relase 5.10.0, with PHP 8.1 support

Use this patch to update:

diff --git a/PKGBUILD b/PKGBUILD
index 6a67436..bf516ef 100644
@@ -5,3 +5,3 @@ pkgname=php-sqlsrv
@@ -14,3 +14,3 @@ depends=('php' 'msodbcsql')

alvaroico commented on 2022-01-24 13:15 (UTC)

Update > pkgver=5.10.0beta2 makepkg -si --skipinteg

petrovo commented on 2022-01-23 08:48 (UTC) (edited on 2022-01-23 08:52 (UTC) by petrovo)

I have problem with make on PHP 8.1. php-pdo_sqlsrv too... We have to wait for the version 5.10.0beta2

.../php-sqlsrv/src/sqlsrv-5.9.0/shared/core_stmt.cpp:165:5: error: ‘ZVAL_NEW_ARR’ was not declared in this scope; did you mean ‘ZVAL_NEW_STR’? 165 | ZVAL_NEW_ARR( &param_streams ); | ^~~~~~~~~~~~ | ZVAL_NEW_STR make: *** [Makefile:226: shared/core_stmt.lo] Chyba 1 ==> CHYBA: Došlo k chybě v build(). Rušení... -> error making: php-sqlsrv

andoni commented on 2021-01-29 23:47 (UTC)

New Stable relase 5.9.0, with PHP 8.0 support

andoni commented on 2021-01-29 12:44 (UTC)

Until there is an stable release, the 5.2.0beta2 can be compiled and used with PHP8 changing the PKGBUILD:

-pkgver=5.8.1 +pkgver=5.9.0beta2

-sha256sums=('39c5c07989d8b53e9ccdd79e8dc5eb6159632be89b1c01e23ea308c8e0332a31') +sha256sums=('48f9b0b6c37d7178bdfceaeb08e4ac308c8edb071dda20ac1219b0c960faaa75')

tompear commented on 2020-02-01 10:55 (UTC)

Updated to 5.8.0 with PHP 7.4 support.

pedromello commented on 2019-12-31 22:08 (UTC)

version 5.6.1 lacks support for php 7.4 (it will be available on 5.7.1, currently in preview/devel only)

JoelCL commented on 2019-12-16 22:41 (UTC) (edited on 2019-12-16 22:45 (UTC) by JoelCL)

Apparently after upgrading to php 7.4 the sql server driver no longer works, I uninstalled it and when I want to install it again I get the following error (I hope it can be solved at once):

var/tmp/pamac-build-joel/php-sqlsrv/src/sqlsrv-5.6.1/shared/core_stream.cpp:201:5: error: invalid conversion from ‘size_t ()(php_stream, char, size_t)’ {aka ‘long unsigned int ()(_php_stream, char, long unsigned int)’} to ‘ssize_t ()(php_stream, char, size_t)’ {aka ‘long int ()(_php_stream, char, long unsigned int)’} [-fpermissive]

201 | sqlsrv_stream_read, | ^~~~~~~~~~~~~~~~~~ | | | size_t ()(php_stream, char, size_t) {aka long unsigned int ()(_php_stream, char, long unsigned int)}

make: [Makefile:204: shared/core_stream.lo] Error 1 make: Waiting for unfinished jobs....

g++ -std=c++11 -I. -I/var/tmp/pamac-build-joel/php-sqlsrv/src/sqlsrv-5.6.1 -DPHP_ATOM_INC -I/var/tmp/pamac-build-joel/php-sqlsrv/src/sqlsrv-5.6.1/include -I/var/tmp/pamac-build-joel/php-sqlsrv/src/sqlsrv-5.6.1/main -I/var/tmp/pamac-build-joel/php-sqlsrv/src/sqlsrv-5.6.1 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/var/tmp/pamac-build-joel/php-sqlsrv/src/sqlsrv-5.6.1/shared -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -std=c++11 -D_FORTIFY_SOURCE=2 -O2 -fstack-protector -c /var/tmp/pamac-build-joel/php-sqlsrv/src/sqlsrv-5.6.1/shared/core_util.cpp -fPIC -DPIC -o shared/.libs/core_util.o

==> ERROR: A failure occurred in build().