Commit 824ebb22 authored by Christian Kuhn's avatar Christian Kuhn
Browse files

Merge pull request #31 in T3COM/bamboo-remote-agent from...

Merge pull request #31 in T3COM/bamboo-remote-agent from feature/INFRA-255-bamboo-have-mssql-on-php71 to develop

* commit '15b44ea7':
  [BUGFIX] Correct php version in 71 build
  [BUGFIX] Have php-pear with pecl
  [TASK] Compile mssql php driver
parents 6959a624 15b44ea7
......@@ -33,6 +33,7 @@ minimal_apt_get_install \
php7.1-xmlrpc \
php7.1-xsl \
php7.1-zip \
php-pear \
php-redis \
php-memcached \
php-xdebug \
......@@ -58,6 +59,11 @@ sed -i s/'; max_input_vars = 1000'/'max_input_vars = 1500'/ /etc/php/7.1/cli/php
echo "xdebug.max_nesting_level = 400" >> /etc/php/7.1/mods-available/xdebug.ini
# mssql driver
pecl install sqlsrv
echo extension=sqlsrv.so >> /etc/php/7.1/mods-available/sqlsrv.ini
phpenmod sqlsrv
# Install common tools
minimal_apt_get_install \
graphicsmagick \
......@@ -68,4 +74,3 @@ minimal_apt_get_install \
# Install composer
curl -sSL https://getcomposer.org/download/1.3.1/composer.phar -o /usr/bin/composer
chmod +x /usr/bin/composer
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment