-
-
Save chronon/95911d21928cff786e306c23e7d1d3f3 to your computer and use it in GitHub Desktop.
Possible values for ext-name: | |
bcmath | |
bz2 | |
calendar | |
ctype | |
curl | |
dba | |
dom | |
enchant | |
exif | |
fileinfo | |
filter | |
ftp | |
gd | |
gettext | |
gmp | |
hash | |
iconv | |
imap | |
interbase | |
intl | |
json | |
ldap | |
mbstring | |
mcrypt | |
mysqli | |
oci8 | |
odbc | |
opcache | |
pcntl | |
pdo | |
pdo_dblib | |
pdo_firebird | |
pdo_mysql | |
pdo_oci | |
pdo_odbc | |
pdo_pgsql | |
pdo_sqlite | |
pgsql | |
phar | |
posix | |
pspell | |
readline | |
recode | |
reflection | |
session | |
shmop | |
simplexml | |
snmp | |
soap | |
sockets | |
spl | |
standard | |
sysvmsg | |
sysvsem | |
sysvshm | |
tidy | |
tokenizer | |
wddx | |
xml | |
xmlreader | |
xmlrpc | |
xmlwriter | |
xsl | |
zip |
Thanks
extension: zip
RUN apt-get update \
&& apt-get install -y \
libzip-dev \
&& docker-php-ext-install -j$(nproc) \
zip \
&& apt-get purge -y \
libzip-dev
May you guide me on installing pdflib extension? Thank you!
This is one possible way of installing pdflib
. I have copied it from a dockerfile.
Disclaimer #1: I have not tried it.
Disclaimer #2: The URL for donwloading PDFlib is http
(not secure) instead https
.
ENV TNS_ADMIN=/etc
RUN curl -o /tmp/pdflib-php.tar.gz -SL "http://www.pdflib.com/binaries/PDFlib/906/PDFlib-9.0.6p2-Linux-x86_64-php.tar.gz" \
&& curl -o /tmp/oracle-instantclient.x86_64.rpm -SL "https://raw.githubusercontent.com/astrobl1904/docker-library/master/php-dev/commercial-components/oracle-instantclient.x86_64.rpm" \
&& yum --setopt=tsflags=nodocs --nogpgcheck -y install tar /tmp/oracle-instantclient.x86_64.rpm \
&& install -m 755 -d /usr/lib64/php/modules \
&& tar -xzf /tmp/pdflib-php.tar.gz -C /usr/lib64/php/modules --no-same-owner --no-same-permissions --strip-components=4 */php-700/php_pdflib.so \
&& echo "/usr/lib/oracle/12.1/client64/lib" > /etc/ld.so.conf.d/oracle-instantclient.x86_64.conf \
&& echo "# Placeholder tnsnames.ora for Docker containers" > $TNS_ADMIN/tnsnames.ora \
&& rm -rf /tmp/*.rpm /tmp/*.tar.gz
Thank you!
❤️
extension: wddx
This extension is DEPRECATED and UNBUNDLED as of PHP 7.4.0. - https://www.php.net/manual/en/intro.wddx.php
Trying to follow the format above to enable sockets with PHP 8.1.2 but no luck.
RUN docker-php-ext-install sockets && docker-php-ext-enable sockets
Any ideas?
error: /usr/src/php/ext/interbase does not exist
@EdwinWalela This works for me with PHP 8.2, no need for the enable
part:
RUN docker-php-ext-install -j$(nproc) sockets
Anyone have any guidance for installing the tidy extension? We've tried to no avail.
extension: mysqli