php-sqlsrv on AUR (Arch User Repository)

Last updated: May 20,2024

1. Install "php-sqlsrv" effortlessly via AUR with the help of a helper(YAY)

a. Install YAY (https://github.com/Jguer/yay)

$ sudo pacman -S --needed git base-devel && git clone https://aur.archlinux.org/yay.git && cd yay && makepkg -si

b. Install php-sqlsrv on Arch using YAY

$ yay -S php-sqlsrv

* (Optional) Uninstall php-sqlsrv on Arch using YAY

$ yay -Rns php-sqlsrv

2. Manually Install "php-sqlsrv" via AUR

a. Ensure you have the base development tools and git installed with:

$ sudo pacman -S --needed base-devel git

b. Clone php-sqlsrv's git locally

$ git clone https://aur.archlinux.org/php-sqlsrv.git ~/php-sqlsrv

c. Go to ~/php-sqlsrv folder and install it

$ cd ~/php-sqlsrv $ makepkg -si

3. Information about the php-sqlsrv package on Arch User Repository (AUR)

ID: 1404322
Name: php-sqlsrv
PackageBaseID: 116002
PackageBase: php-sqlsrv
Version: 5.12.0-1
Description: Microsoft SQL Server Drivers for PHP.
URL: https://pecl.php.net/package/sqlsrv
NumVotes: 6
Popularity: 0
OutOfDate:
Maintainer: tompear
Submitter: mtorromeo
FirstSubmitted: 1475761534
LastModified: 1707129164
URLPath: /cgit/aur.git/snapshot/php-sqlsrv.tar.gz