Skip to content

Instantly share code, notes, and snippets.

@mbarrerar
Last active September 15, 2017 03:18
Show Gist options
  • Save mbarrerar/0fa8016120afeec9f665b04c7845fae0 to your computer and use it in GitHub Desktop.
Save mbarrerar/0fa8016120afeec9f665b04c7845fae0 to your computer and use it in GitHub Desktop.
rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm
rpm -Uvh https://mirror.webtatic.com/yum/el6/latest.rpm
sudo yum install nano
sudo yum install centos-release-scl
sudo yum install devtoolset-4-toolchain.x86_64
scl enable devtoolset-4 bash
sudo yum install httpd php70w.x86_64 php70w-mbstring.x86_64 php70w-intl.x86_64 php70w-gd.x86_64 php70w-cli.x86_64 php70w-pear php70w-devel php70w-pdo unixODBC-devel
sudo pecl install sqlsrv pdo_sqlsrv
sudo nano /etc/php.d/pdo.ini
; Enable pdo extension module
extension=pdo.so
extension=sqlsrv.so
extension=pdo_sqlsrv.so
sudo service httpd restart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment