Package Details: php-sqlsrv 5.8.1-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: 5
Popularity: 0.006775
First Submitted: 2016-10-06 13:45
Last Updated: 2020-04-15 18:45

Dependencies (2)

Required by (1)

Sources (1)

Latest Comments

1 2 Next › Last »

tompear commented on 2020-02-01 10:55

Updated to 5.8.0 with PHP 7.4 support.

pedromello commented on 2019-12-31 22:08

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

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

ClubMate commented on 2019-09-22 18:22

Install error: Failure while downloading http://mirror.centos.org/centos/7/os/x86_64/Packages/openssl-libs-1.0.2k-16.el7.x86_64.rpm

kvasthval commented on 2018-12-11 13:22

Is anybody else suddenly getting compile errors, both for this and the PDO version? /usr/include/php/Zend/zend_types.h:792:24: error: expected id-expression before 'do'

andoni commented on 2018-03-23 19:47

Production release for PHP drivers for SQL Server on Mac OS X,Linux, and Windows v5.20

A new stable version released.

Source: https://github.com/Microsoft/msphpsql/releases/tag/v5.2.0

mtorromeo commented on 2017-09-22 15:48

Since 4.3.0 was released as stable, I will be tracking only stable releases.
You can create a new package which tracks the "devel" releases separately if you wish.

andoni commented on 2017-09-20 23:10

New 5.1.0-preview release

https://github.com/Microsoft/msphpsql/releases/tag/v5.1.0-preview

andoni commented on 2017-06-28 11:58

New 4.3.0rc1 version. https://github.com/Microsoft/msphpsql/releases

-pkgver=4.2.0
+pkgver=4.3.0RC1

-source=("https://pecl.php.net/get/sqlsrv-${pkgver}preview.tgz")
-sha256sums=('62778cc5e239469c2ad41c614aca1620afe2978c18f0b41236864b75c043124b')
+source=("https://pecl.php.net/get/sqlsrv-${pkgver}.tgz")
+sha256sums=('8efaee6f9a2a680333ea3bedf4f746ecaaa6654f48bc83cb9730f12b8dae1bf9')


Also should delete preview from directories.

mtorromeo commented on 2017-04-14 11:48

I switched to sources published on pecl.php.net and with this change the package now only contains the sqlsrv extension. The pdo_sqlsrv extension is provided by the php-pdo_sqlsrv package.