Warning: file_exists(): open_basedir restriction in effect. File(/srv/http/vhosts/aur.archlinux.org/public/web/locale//en/LC_MESSAGES/aurweb.mo) is not within the allowed path(s): (/srv/http/vhosts/aur-dev.archlinux.org/:/etc/aurweb/) in /srv/http/vhosts/aur-dev.archlinux.org/public/web/lib/streams.php on line 90
AUR (en) - php-sqlsrv

Notice: Undefined variable: name in /srv/http/vhosts/aur-dev.archlinux.org/public/web/lib/pkgfuncs.inc.php on line 248

Package Details: php-sqlsrv 4.0.8-1

Git Clone URL: https://aur-dev.archlinux.org/php-sqlsrv.git (read-only)
Package Base: php-sqlsrv
Description: Microsoft Drivers for PHP for SQL Server PHP 7 Linux
Upstream URL: https://github.com/Microsoft/msphpsql/tree/PHP-7.0-Linux
Licenses: MIT
Submitter: mtorromeo
Maintainer: mtorromeo
Last Packager: mtorromeo
Votes: 3
Popularity: 0.604396
First Submitted: 2016-10-06 13:45
Last Updated: 2016-12-20 15:23

Latest Comments

andoni commented on 2016-12-20 15:03

New 4.0.8 Version - Production Ready!

-pkgver=4.0.7
+pkgver=4.0.8

-sha256sums=('2feb763ee71642c49f3792e730928447b54c450999c522841f1c95cad46eb313')
+sha256sums=('09d6c0328111f47a85098441ae51a39409f2a7cf283e982eb0b73fe284a1e4d9')

mtorromeo commented on 2016-11-30 13:45

Fixed, thanks!

andoni commented on 2016-11-30 13:25

Gives me compilation error: configure: error: Cannot find SQLSRV headers

Now it is needed to run packagize.sh script before build to copy the headers.

diff --git a/PKGBUILD b/PKGBUILD
index 6fd9bfc..fc5302e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@

pkgname=php-sqlsrv
pkgver=4.0.7
-pkgrel=1
+pkgrel=2
pkgdesc="Microsoft Drivers for PHP for SQL Server PHP 7 Linux"
arch=('i686' 'x86_64')
url="https://github.com/Microsoft/msphpsql/tree/PHP-7.0-Linux"
@@ -13,6 +13,11 @@ source=("https://github.com/Microsoft/msphpsql/archive/$pkgver-Linux/$pkgname-$p
sha256sums=('2feb763ee71642c49f3792e730928447b54c450999c522841f1c95cad46eb313')
backup=('etc/php/conf.d/sqlsrv.ini')

+prepare() {
+ cd "$srcdir"/msphpsql-$pkgver-Linux/source
+ . ./packagize.sh
+}
+
build() {
for ext in sqlsrv pdo_sqlsrv; do
cd "$srcdir"/msphpsql-$pkgver-Linux/source/$ext

andoni commented on 2016-10-25 12:40

New release, version 4.0.6

-pkgver=4.0.5
-source=("https://github.com/Microsoft/msphpsql/archive/v$pkgver-Linux/$pkgname-$pkgver.tar.gz")
-sha256sums=('ddf9cc7aa82175bbb12c8d84eb5fb2d0e731d7a9be6cdfb571206018dcf9b1fc')
+pkgver=4.0.6
+source=("https://github.com/Microsoft/msphpsql/archive/$pkgver-Linux.tar.gz")
+sha256sums=('1b6d93c1ade5f71a1017122254437e9bd0f1cafffa3e1288a908a76fc8cc5f5a')