Skip to content

Instantly share code, notes, and snippets.

Steve Hall sh41

  • Wokingham, UK
Block or report user

Report or block sh41

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@sh41
sh41 / 01 Create a debug version of the docker image.sh
Last active Jul 10, 2019
Debugging segmentation faults in PHP in a docker container.
View 01 Create a debug version of the docker image.sh
git clone git@github.com:docker-library/php.git docker-library-php
## Go to the specific version you're interested in
cd docker-library-php/7.1/fpm/alpine
## Edit the .Dockerfile.
## Change
## ENV PHP_EXTRA_CONFIGURE_ARGS --enable-fpm --with-fpm-user=www-data --with-fpm-group=www-data
## to
## ENV PHP_EXTRA_CONFIGURE_ARGS --enable-fpm --with-fpm-user=www-data --with-fpm-group=www-data --enable-debug
## Comment out or delete:
You can’t perform that action at this time.