mirror of
https://github.com/devilbox/docker-php-fpm.git
synced 2025-12-11 11:31:16 +00:00
Add extension xdebug to PHP 8.2
This commit is contained in:
@@ -614,6 +614,24 @@ RUN set -eux \
|
|||||||
&& true
|
&& true
|
||||||
|
|
||||||
|
|
||||||
|
# -------------------- Installing PHP Extension: xdebug --------------------
|
||||||
|
RUN set -eux \
|
||||||
|
# Installation: Version specific
|
||||||
|
# Type: GIT extension
|
||||||
|
&& git clone https://github.com/shivammathur/xdebug /tmp/xdebug \
|
||||||
|
&& cd /tmp/xdebug \
|
||||||
|
# Custom: Branch
|
||||||
|
&& git checkout fix-jmpznz \
|
||||||
|
# Default: Install command
|
||||||
|
&& phpize \
|
||||||
|
&& ./configure --enable-xdebug \
|
||||||
|
&& make -j$(getconf _NPROCESSORS_ONLN) \
|
||||||
|
&& make install \
|
||||||
|
# Enabling
|
||||||
|
&& docker-php-ext-enable xdebug \
|
||||||
|
&& true
|
||||||
|
|
||||||
|
|
||||||
# -------------------- Installing PHP Extension: xsl --------------------
|
# -------------------- Installing PHP Extension: xsl --------------------
|
||||||
RUN set -eux \
|
RUN set -eux \
|
||||||
# Installation: Generic
|
# Installation: Generic
|
||||||
@@ -935,6 +953,8 @@ RUN set -eux \
|
|||||||
&& php-fpm -m | grep -oiE '^uploadprogress$' \
|
&& php-fpm -m | grep -oiE '^uploadprogress$' \
|
||||||
&& php -m | grep -oiE '^uuid$' \
|
&& php -m | grep -oiE '^uuid$' \
|
||||||
&& php-fpm -m | grep -oiE '^uuid$' \
|
&& php-fpm -m | grep -oiE '^uuid$' \
|
||||||
|
&& php -m | grep -oiE '^xdebug$' \
|
||||||
|
&& php-fpm -m | grep -oiE '^xdebug$' \
|
||||||
&& php -m | grep -oiE '^xml$' \
|
&& php -m | grep -oiE '^xml$' \
|
||||||
&& php-fpm -m | grep -oiE '^xml$' \
|
&& php-fpm -m | grep -oiE '^xml$' \
|
||||||
&& php -m | grep -oiE '^xmlreader$' \
|
&& php -m | grep -oiE '^xmlreader$' \
|
||||||
|
|||||||
@@ -719,7 +719,7 @@ Check out this table to see which Docker image provides what PHP modules.
|
|||||||
<tr>
|
<tr>
|
||||||
<th>8.2</th>
|
<th>8.2</th>
|
||||||
<td id="82-base">Core, ctype, curl, date, dom, FFI, fileinfo, filter, ftp, hash, iconv, json, libxml, mbstring, mysqlnd, openssl, pcre, PDO, pdo_sqlite, Phar, posix, readline, Reflection, session, SimpleXML, sodium, SPL, sqlite3, standard, tokenizer, xml, xmlreader, xmlwriter, zlib</td>
|
<td id="82-base">Core, ctype, curl, date, dom, FFI, fileinfo, filter, ftp, hash, iconv, json, libxml, mbstring, mysqlnd, openssl, pcre, PDO, pdo_sqlite, Phar, posix, readline, Reflection, session, SimpleXML, sodium, SPL, sqlite3, standard, tokenizer, xml, xmlreader, xmlwriter, zlib</td>
|
||||||
<td id="82-mods">amqp, apcu, bcmath, bz2, calendar, Core, ctype, curl, date, dba, dom, enchant, exif, FFI, fileinfo, filter, ftp, gd, gettext, gmp, hash, iconv, igbinary, imagick, imap, intl, json, ldap, libxml, mbstring, memcache, memcached, mongodb, msgpack, mysqli, mysqlnd, OAuth, oci8, openssl, pcntl, pcre, PDO, pdo_dblib, PDO_Firebird, pdo_mysql, PDO_OCI, pdo_pgsql, pdo_sqlite, pdo_sqlsrv, pgsql, Phar, posix, pspell, psr, rdkafka, readline, redis, Reflection, session, shmop, SimpleXML, snmp, soap, sockets, sodium, SPL, sqlite3, sqlsrv, standard, sysvmsg, sysvsem, sysvshm, tidy, tokenizer, uploadprogress, uuid, xlswriter, xml, xmlreader, xmlwriter, xsl, yaml, Zend OPcache, zip, zlib</td>
|
<td id="82-mods">amqp, apcu, bcmath, bz2, calendar, Core, ctype, curl, date, dba, dom, enchant, exif, FFI, fileinfo, filter, ftp, gd, gettext, gmp, hash, iconv, igbinary, imagick, imap, intl, json, ldap, libxml, mbstring, memcache, memcached, mongodb, msgpack, mysqli, mysqlnd, OAuth, oci8, openssl, pcntl, pcre, PDO, pdo_dblib, PDO_Firebird, pdo_mysql, PDO_OCI, pdo_pgsql, pdo_sqlite, pdo_sqlsrv, pgsql, Phar, posix, pspell, psr, rdkafka, readline, redis, Reflection, session, shmop, SimpleXML, snmp, soap, sockets, sodium, SPL, sqlite3, sqlsrv, standard, sysvmsg, sysvsem, sysvshm, tidy, tokenizer, uploadprogress, uuid, xdebug, xlswriter, xml, xmlreader, xmlwriter, xsl, yaml, Zend OPcache, zip, zlib</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|||||||
@@ -1290,7 +1290,7 @@ extensions_available:
|
|||||||
configure: --with-libxml-dir=/usr
|
configure: --with-libxml-dir=/usr
|
||||||
build_dep: [libxml2-dev]
|
build_dep: [libxml2-dev]
|
||||||
xdebug:
|
xdebug:
|
||||||
disabled: [8.2]
|
disabled: []
|
||||||
5.2:
|
5.2:
|
||||||
type: pecl
|
type: pecl
|
||||||
version: 2.2.7
|
version: 2.2.7
|
||||||
@@ -1317,6 +1317,12 @@ extensions_available:
|
|||||||
git_url: https://github.com/xdebug/xdebug
|
git_url: https://github.com/xdebug/xdebug
|
||||||
git_ref: $(git for-each-ref --format='%(refname)' refs/tags | grep -E 'tags/[.0-9]+$' | sed 's|.*tags/||g' | sort -V | tail -1)
|
git_ref: $(git for-each-ref --format='%(refname)' refs/tags | grep -E 'tags/[.0-9]+$' | sed 's|.*tags/||g' | sort -V | tail -1)
|
||||||
configure: --enable-xdebug
|
configure: --enable-xdebug
|
||||||
|
# FIXME: Switch back to official xdebug after changes have been merged
|
||||||
|
8.2:
|
||||||
|
type: git
|
||||||
|
git_url: https://github.com/shivammathur/xdebug
|
||||||
|
git_ref: fix-jmpznz
|
||||||
|
configure: --enable-xdebug
|
||||||
all:
|
all:
|
||||||
type: pecl
|
type: pecl
|
||||||
xlswriter:
|
xlswriter:
|
||||||
|
|||||||
Reference in New Issue
Block a user