fix:Add php xlswriter extension
This commit is contained in:
1 parent
084fcaaf8b
commit
c906356f46
3 files changed
+7
-7
No files matched your search
@@ -377,8 +377,8 @@ RUN set -eux; \
|
||||
if [ ${INSTALL_XLSWRITER} = true ]; then \
|
||||
# Install Php xlswriter Extension \
|
||||
if [ $(php -r "echo PHP_MAJOR_VERSION;") > "5" ]; then \
|
||||
pecl install xlswriter; \
|
||||
docker-php-ext-enable xlswriter; \
|
||||
pecl install xlswriter && \
|
||||
docker-php-ext-enable xlswriter && \
|
||||
php -m | grep -q 'xlswriter'; \
|
||||
else \
|
||||
echo "PHP Extension for xlswriter is not supported for PHP 5.0"; \
|
||||
|
||||
Reference in new issue
Block a user