File tree Expand file tree Collapse file tree 6 files changed +53
-0
lines changed Expand file tree Collapse file tree 6 files changed +53
-0
lines changed Original file line number Diff line number Diff line change
1
+ FROM phpplatform/php-apache:5.3
2
+
3
+ RUN mkdir -p /tmp/xdebug && cd /tmp/xdebug \
4
+ && curl -O https://xdebug.org/files/xdebug-2.2.5.tgz && tar -xzf xdebug-2.2.5.tgz && cd xdebug-2.2.5 \
5
+ && phpize \
6
+ && ./configure --enable-xdebug \
7
+ && make && make install \
8
+ && mkdir -p /usr/local/etc/php/conf.d/ \
9
+ && echo "export PHP_INI_SCAN_DIR=/usr/local/etc/php/conf.d" >> ~/.bashrc \
10
+ && echo "zend_extension=$(find /usr/local/lib/php/extensions/ -name xdebug.so)" >> /usr/local/etc/php/conf.d/xdebug.ini \
11
+ && echo "xdebug.remote_enable=on" >> /usr/local/etc/php/conf.d/xdebug.ini \
12
+ && echo "xdebug.remote_autostart=off" >> /usr/local/etc/php/conf.d/xdebug.ini
13
+
14
+ CMD ["apache2" , "-DFOREGROUND" ]
Original file line number Diff line number Diff line change
1
+ FROM phpplatform/php-apache:5.4
2
+
3
+ RUN mkdir -p /tmp/xdebug && cd /tmp/xdebug \
4
+ && curl -O https://xdebug.org/files/xdebug-2.4.1.tgz && tar -xzf xdebug-2.4.1.tgz && cd xdebug-2.4.1 \
5
+ && phpize \
6
+ && ./configure --enable-xdebug \
7
+ && make && make install \
8
+ && echo "zend_extension=$(find /usr/local/lib/php/extensions/ -name xdebug.so)" > /usr/local/etc/php/conf.d/xdebug.ini \
9
+ && echo "xdebug.remote_enable=on" >> /usr/local/etc/php/conf.d/xdebug.ini \
10
+ && echo "xdebug.remote_autostart=off" >> /usr/local/etc/php/conf.d/xdebug.ini
11
+
Original file line number Diff line number Diff line change
1
+ FROM phpplatform/php-apache:5.5
2
+
3
+ RUN yes | pecl install xdebug \
4
+ && echo "zend_extension=$(find /usr/local/lib/php/extensions/ -name xdebug.so)" > /usr/local/etc/php/conf.d/xdebug.ini \
5
+ && echo "xdebug.remote_enable=on" >> /usr/local/etc/php/conf.d/xdebug.ini \
6
+ && echo "xdebug.remote_autostart=off" >> /usr/local/etc/php/conf.d/xdebug.ini
7
+
Original file line number Diff line number Diff line change
1
+ FROM phpplatform/php-apache:5.6
2
+
3
+ RUN yes | pecl install xdebug \
4
+ && echo "zend_extension=$(find /usr/local/lib/php/extensions/ -name xdebug.so)" > /usr/local/etc/php/conf.d/xdebug.ini \
5
+ && echo "xdebug.remote_enable=on" >> /usr/local/etc/php/conf.d/xdebug.ini \
6
+ && echo "xdebug.remote_autostart=off" >> /usr/local/etc/php/conf.d/xdebug.ini
7
+
Original file line number Diff line number Diff line change
1
+ FROM phpplatform/php-apache:7.0
2
+
3
+ RUN yes | pecl install xdebug \
4
+ && echo "zend_extension=$(find /usr/local/lib/php/extensions/ -name xdebug.so)" > /usr/local/etc/php/conf.d/xdebug.ini \
5
+ && echo "xdebug.remote_enable=on" >> /usr/local/etc/php/conf.d/xdebug.ini \
6
+ && echo "xdebug.remote_autostart=off" >> /usr/local/etc/php/conf.d/xdebug.ini
7
+
Original file line number Diff line number Diff line change
1
+ FROM phpplatform/php-apache:7.1
2
+
3
+ RUN yes | pecl install xdebug \
4
+ && echo "zend_extension=$(find /usr/local/lib/php/extensions/ -name xdebug.so)" > /usr/local/etc/php/conf.d/xdebug.ini \
5
+ && echo "xdebug.remote_enable=on" >> /usr/local/etc/php/conf.d/xdebug.ini \
6
+ && echo "xdebug.remote_autostart=off" >> /usr/local/etc/php/conf.d/xdebug.ini
7
+
You can’t perform that action at this time.
0 commit comments