Install timezonedb in docker image
P粉158473780
2023-08-31 10:45:54
<p>How to set <code>extension=timezonedb.so</code> in docker PHP image?
Installed timezonedb in docker bash manual and added <code>extension=timezonedb.so</code> to php.ini but didn't work for me. </p>
<p>Install timezonedb in docker bash manual and add <code>extension=timezonedb.so</code> to php.ini but it doesn't work for me. </p>
https://serverfault.com/questions/1123233/why-timezonedb-extension-have-the-latest-data
method one.
Method 2.
Method 3.
These 3 methods all work fine. After building the docker container, I confirmed that the extension was installed and loaded correctly by checking the PHP information.