File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55#
66
77# PHP Versions that will be generated
8- php_versions=( " 7.2" " 7.1" " 7.0" " 5.6" )
8+ php_versions=( " 7.4 " " 7. 2" " 7.1" " 7.0" " 5.6" )
99
1010# PHP variants that will be generated for each PHP version
1111# final source image will be generated as follow: php:7.2-cli, php:7-2-apache and php:7.2-fpm
@@ -15,6 +15,7 @@ php_docker_suffix=( "cli" "apache" "fpm" )
1515# PHP_VERSION => XDEBUG_VERSION
1616declare -A xdebug_versions
1717xdebug_versions=(
18+ [" 7.4" ]=" xdebug-2.9.1"
1819 [" 7.2" ]=" xdebug-2.6.0"
1920 [" 7.1" ]=" xdebug-2.6.0"
2021 [" 7.0" ]=" xdebug-2.6.0"
Original file line number Diff line number Diff line change 1+ FROM php:7.4-apache
2+ MAINTAINER Przemek Szalko <
[email protected] >
3+
4+ RUN pecl channel-update pecl.php.net \
5+ && pecl install xdebug-2.9.1 \
6+ && curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
7+
8+ COPY xdebug.ini /usr/local/etc/php/conf.d/xdebug.ini
Original file line number Diff line number Diff line change 1+ [xdebug]
2+ zend_extension =xdebug.so
3+
4+ xdebug.cli_color =1
5+ xdebug.profiler_enable =0
6+ xdebug.profiler_enable_trigger =1
7+
8+ xdebug.profiler_output_dir =" /tmp"
9+ xdebug.profiler_output_name =" cachegrind.out.%H.%t.%p"
10+
11+ xdebug.remote_enable =1
12+ xdebug.remote_connect_back =1
13+ xdebug.remote_port =9000
Original file line number Diff line number Diff line change 1+ FROM php:7.4-cli
2+ MAINTAINER Przemek Szalko <
[email protected] >
3+
4+ RUN pecl channel-update pecl.php.net \
5+ && pecl install xdebug-2.9.1 \
6+ && curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
7+
8+ COPY xdebug.ini /usr/local/etc/php/conf.d/xdebug.ini
Original file line number Diff line number Diff line change 1+ [xdebug]
2+ zend_extension =xdebug.so
3+
4+ xdebug.cli_color =1
5+ xdebug.profiler_enable =0
6+ xdebug.profiler_enable_trigger =1
7+
8+ xdebug.profiler_output_dir =" /tmp"
9+ xdebug.profiler_output_name =" cachegrind.out.%H.%t.%p"
10+
11+ xdebug.remote_enable =1
12+ xdebug.remote_connect_back =1
13+ xdebug.remote_port =9000
Original file line number Diff line number Diff line change 1+ FROM php:7.4-fpm
2+ MAINTAINER Przemek Szalko <
[email protected] >
3+
4+ RUN pecl channel-update pecl.php.net \
5+ && pecl install xdebug-2.9.1 \
6+ && curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
7+
8+ COPY xdebug.ini /usr/local/etc/php/conf.d/xdebug.ini
Original file line number Diff line number Diff line change 1+ [xdebug]
2+ zend_extension =xdebug.so
3+
4+ xdebug.cli_color =1
5+ xdebug.profiler_enable =0
6+ xdebug.profiler_enable_trigger =1
7+
8+ xdebug.profiler_output_dir =" /tmp"
9+ xdebug.profiler_output_name =" cachegrind.out.%H.%t.%p"
10+
11+ xdebug.remote_enable =1
12+ xdebug.remote_connect_back =1
13+ xdebug.remote_port =9000
You can’t perform that action at this time.
0 commit comments