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 use the image thecodingmachine/php:7.2-v2-apache (the 7.3 is not on docker hub), and I want to add a custom extension in php. I have a .so, but how can I add automatically in the extension directory and enable it ?
I found the extension directory but the name is /usr/local/lib/php/extensions/no-debug-non-zts-20170718/ and I don't know how can I automatically get it.
Is it possible to add easily a custom .so extension ?
The text was updated successfully, but these errors were encountered:
I use the image thecodingmachine/php:7.2-v2-apache (the 7.3 is not on docker hub)
7.3-v2-apache is on Docker hub!
The extensions directory is not likely to change if you don't change the version of PHP.
So you can assume it will always be the same directory and add the extension in this directory using a Dockerfile.
Out of curiosity, what extension are you trying to install? Does it deserve being added in thecodingmachine/php or is it specific?
I use the image thecodingmachine/php:7.2-v2-apache (the 7.3 is not on docker hub), and I want to add a custom extension in php. I have a .so, but how can I add automatically in the extension directory and enable it ?
I found the extension directory but the name is /usr/local/lib/php/extensions/no-debug-non-zts-20170718/ and I don't know how can I automatically get it.
Is it possible to add easily a custom .so extension ?
The text was updated successfully, but these errors were encountered: