Skip to content

Instantly share code, notes, and snippets.

@welcoMattic
Created March 6, 2018 10:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save welcoMattic/e774d92703294e0dc382468edebcd367 to your computer and use it in GitHub Desktop.
Save welcoMattic/e774d92703294e0dc382468edebcd367 to your computer and use it in GitHub Desktop.
Disable Xdebug on CircleCi with pre-built PHP Docker image
version: 2
jobs:
build:
working_directory: ~/symfony
docker:
- image: circleci/php:7.2-fpm-node-browsers
- image: circleci/mysql:5.7-ram
# MYSQL_ALLOW_EMPTY_PASSWORD=true
# MYSQL_DATABASE=circle_test
# MYSQL_HOST=127.0.0.1
# MYSQL_ROOT_HOST=%
# MYSQL_USER=root
steps:
- checkout
- run:
name: Disable xdebug
command: |
sudo sed -i 's/^zend_extension/;zend_extension/g' /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini
# your steps below
@B-Galati
Copy link

Thank you ! It works like a charm ;-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment