You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have written an app with an Excel output. When I use it with DDEV (PHP 8.2, MariaDB 10.6, otherwise default settings) everything works as desired.
However, if I start the app with Docker there are problems opening it in MS Excel. However, 7zip can unzip the file and alternative programs open the file without problems.
The Docker image is based on php:8.2-apache . I suspect an external dependency, so I compared the loaded modules and adjusted some, e.g. bz2, unfortunately without success. In the following list modules that are loaded in DDEV but Docker are not marked with a dot / plus-sign. Maybe someone here has an idea what I need to adjust to make it work?
"if I start the app with Docker there are problems opening it in MS Excel".
An xlsx file is just a zip file. Open your xlsx/zip file in a hex editor or text editor and see if there are any php errors before the PK \x50\x4b\x03\x04 header. Its usually php.ini settings like display_errors=On or a /tmp dir issue that corrupt these files.
I have written an app with an Excel output. When I use it with DDEV (PHP 8.2, MariaDB 10.6, otherwise default settings) everything works as desired.
However, if I start the app with Docker there are problems opening it in MS Excel. However, 7zip can unzip the file and alternative programs open the file without problems.
The Docker image is based on php:8.2-apache . I suspect an external dependency, so I compared the loaded modules and adjusted some, e.g. bz2, unfortunately without success. In the following list modules that are loaded in DDEV but Docker are not marked with a dot / plus-sign. Maybe someone here has an idea what I need to adjust to make it work?
[PHP Modules]
bz2
core
ctype
curl
date
dom
fileinfo
filter
ftp
hash
iconv
intl
json
libxml
mbstring
mysqli
mysqlnd
openssl
pcntl
pcre
PDO
pdo_mysql
pdo_sqlite
Phar
posix
random
readline
reflection
session
SimpleXML
sodium
SPL
sqlite3
standard
tokenizer
xml
xmlreader
xmlwriter
zip
zlib
[Zend Modules]
The text was updated successfully, but these errors were encountered: