Merge pull request #2509 from laradock/fix-php2-ext
fix php7.4 ssh2 extension.
This commit is contained in:
commit
127d48655c
@ -107,7 +107,7 @@ RUN if [ ${INSTALL_SSH2} = true ]; then \
|
|||||||
if [ $(php -r "echo PHP_MAJOR_VERSION;") = "5" ]; then \
|
if [ $(php -r "echo PHP_MAJOR_VERSION;") = "5" ]; then \
|
||||||
pecl install -a ssh2-0.13; \
|
pecl install -a ssh2-0.13; \
|
||||||
else \
|
else \
|
||||||
pecl install -a ssh2-1.1.2; \
|
pecl install -a ssh2-1.2; \
|
||||||
fi && \
|
fi && \
|
||||||
docker-php-ext-enable ssh2 \
|
docker-php-ext-enable ssh2 \
|
||||||
;fi
|
;fi
|
||||||
|
Loading…
Reference in New Issue
Block a user