File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -560,7 +560,7 @@ RUN set -eux \
560560 # Installation: Generic
561561 # Type: PECL extension
562562 # Default: Pecl command
563- && pecl install pdo_sqlsrv \
563+ && pecl install pdo_sqlsrv-5.12.0 \
564564 # Enabling
565565 && docker-php-ext-enable pdo_sqlsrv \
566566 && true
Original file line number Diff line number Diff line change @@ -543,7 +543,7 @@ RUN set -eux \
543543 # Installation: Generic
544544 # Type: PECL extension
545545 # Default: Pecl command
546- && pecl install pdo_sqlsrv \
546+ && pecl install pdo_sqlsrv-5.12.0 \
547547 # Enabling
548548 && docker-php-ext-enable pdo_sqlsrv \
549549 && true
Original file line number Diff line number Diff line change @@ -578,20 +578,7 @@ RUN set -eux \
578578 # Installation: Generic
579579 # Type: PECL extension
580580 # Default: Pecl command
581- # && pecl install pdo_sqlsrv \
582- # Installation: Version specific
583- # Type: GIT extension
584- && pecl download pdo_sqlsrv-5.12.0 \
585- && tar xzf pdo_sqlsrv-5.12.0.tgz \
586- && cd pdo_sqlsrv-5.12.0 \
587- && sed -i 's/= dbh->error_mode/= (enum pdo_error_mode) dbh->error_mode/' pdo_dbh.cpp \
588- && sed -i 's/zval_ptr_dtor( &dbh->query_stmt_zval );/OBJ_RELEASE(dbh->query_stmt_obj);dbh->query_stmt_obj=NULL;/' php_pdo_sqlsrv_int.h \
589- # Default: Install command
590- && phpize \
591- && ./configure --with-php-config=$(which php-config) \
592- && make -j$(getconf _NPROCESSORS_ONLN) \
593- && make install \
594- && cd - && rm -rf pdo_sqlsrv-* \
581+ && pecl install pdo_sqlsrv \
595582 # Enabling
596583 && docker-php-ext-enable pdo_sqlsrv \
597584 && true
You can’t perform that action at this time.
0 commit comments