ByteInternet / hypernode-docker

Fast and easy Docker for Magento development
https://community.hypernode.io/hypernode-docker
35 stars 8 forks source link

expand docs with php8.1-xdebug and php8.0-xdebug #63

Closed vdloo closed 2 years ago

vdloo commented 2 years ago

the version of php-xdebug we have in our repos doesn't support the latest PHP versions. in the newer php-xdebug older PHP versions that we still want to have as dockers here are dropped, so instead there are separate packages like php8.1-xdebug and php8.0-xdebug for those PHP versions.

looks like:

# docker run docker.hypernode.com/byteinternet/hypernode-buster-docker-php80-mysql80:latest
...
# ssh root@172.17.0.2
root@08b999aca99a ~ # 
root@08b999aca99a ~ # apt-get update
root@08b999aca99a ~ # apt-get install php8.1-xdebug
root@08b999aca99a ~ # dpkg -L php8.1-xdebug
/.
/etc
/etc/php
/etc/php/8.1
/etc/php/8.1/mods-available
/etc/php/8.1/mods-available/xdebug.ini
/usr
/usr/lib
/usr/lib/php
/usr/lib/php/20210902
/usr/lib/php/20210902/xdebug.so
/usr/share
/usr/share/doc
/usr/share/doc/php8.1-xdebug
/usr/share/doc/php8.1-xdebug/changelog.Debian.gz
/usr/share/doc/php8.1-xdebug/copyright
root@08b999aca99a ~ # php8.1 -m | grep xdebug -i
xdebug
Xdebug