Skip to content

Commit 1a8f193

Browse files
committed
refs #41568, fixes develop xdebug for 8.3
1 parent 888ec16 commit 1a8f193

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Dockerfile

+4-4
Original file line numberDiff line numberDiff line change
@@ -95,13 +95,13 @@ ENV \
9595
#xdebug
9696
RUN \
9797
apt-get update && \
98-
apt-get install -y php-pear gcc make autoconf libc-dev pkg-config php8.1-dev libmcrypt-dev php8.1-cgi net-tools
98+
apt-get install -y php-pear gcc make autoconf libc-dev pkg-config php8.3-dev libmcrypt-dev php8.3-cgi net-tools
9999
RUN \
100100
mkdir -p /var/www/html/log/xdebug && chown -R www-data:www-data /var/www/html/log/xdebug && \
101101
pecl install xdebug-3.2.2 && \
102-
bash -c "echo zend_extension=xdebug.so > /etc/php/8.1/mods-available/xdebug.ini" && \
102+
bash -c "echo zend_extension=xdebug.so > /etc/php/8.3/mods-available/xdebug.ini" && \
103103
bash -c "phpenmod xdebug" && \
104-
cp -f /home/docker/php/develop.ini /etc/php/8.1/fpm/conf.d/x-develop.ini
104+
cp -f /home/docker/php/develop.ini /etc/php/8.3/fpm/conf.d/x-develop.ini
105105

106106
#phpunit
107107
RUN \
@@ -112,7 +112,7 @@ RUN \
112112
echo "alias phpunit='phpunit -c ~/phpunit/phpunit.xml'" > /root/.bashrc
113113

114114
RUN \
115-
apt-get remove -y php8.1-dev gcc make autoconf libc-dev pkg-config php-pear && \
115+
apt-get remove -y php8.3-dev gcc make autoconf libc-dev pkg-config php-pear && \
116116
apt-get autoremove -y && \
117117
apt-get clean && rm -rf /var/lib/apt/lists/*
118118

0 commit comments

Comments
 (0)