Created
          March 6, 2018 10:06 
        
      - 
      
 - 
        
Save welcoMattic/e774d92703294e0dc382468edebcd367 to your computer and use it in GitHub Desktop.  
    Disable Xdebug on CircleCi with pre-built PHP Docker image
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | 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 | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
            
Thank you ! It works like a charm ;-)