Package Details: php-sqlsrv 5.12.0-1

Git Clone URL: https://aur.archlinux.org/php-sqlsrv.git (read-only, click to copy)
Package Base: php-sqlsrv
Description: Microsoft SQL Server Drivers for PHP.
Upstream URL: https://pecl.php.net/package/sqlsrv
Licenses: MIT
Submitter: mtorromeo
Maintainer: tompear
Last Packager: tompear
Votes: 6
Popularity: 0.000000
First Submitted: 2016-10-06 13:45 (UTC)
Last Updated: 2024-02-05 10:32 (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

https://github.com/microsoft/msphpsql/releases/tag/v5.11.0

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

https://github.com/microsoft/msphpsql/releases/tag/v5.10.0


Use this patch to update:

diff --git a/PKGBUILD b/PKGBUILD
index 6a67436..bf516ef 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,3 +5,3 @@ pkgname=php-sqlsrv
 _extname=${pkgname#php-}
-pkgver=5.9.0
+pkgver=5.10.0
 _pkgver=${pkgver}
@@ -14,3 +14,3 @@ depends=('php' 'msodbcsql')
 source=("https://pecl.php.net/get/$_extname-${_pkgver}.tgz")
-sha256sums=('0a108e0408e8b984e5ae8bc52824ed32872d72e3a571cd2a5d2b63b200215ab3')
+sha256sums=('76b3f083a1a8f103581c21ba3a46d6ca257beae6728cd158a64a46ab59a226b4')
 backup=("etc/php/conf.d/$_extname.ini")

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

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

https://pecl.php.net/get/sqlsrv-5.10.0beta2.tgz

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 https://pecl.php.net/package/sqlsrv

.../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

https://pecl.php.net/package/sqlsrv/5.9.0

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().

Aborting...