Since this morning I have been receiving this error:
/usr/local/bin/docker-php-ext-enable: 108: /usr/local/bin/docker-php-ext-enable: cannot create /conf.d/docker-php-ext-mysqli.ini: Directory nonexistent
I have been using my current config.yml for the past three months without any issues.
This is my current config:
jobs:
build:
docker:
- image: circleci/php
- image: circleci/mysql:5.7
environment:
- MYSQL_DATABASE=testing
- MYSQL_USER=root
- MYSQL_ROOT_HOST=%
- MYSQL_HOST=127.0.0.1
steps:
- checkout
- run: sudo docker-php-ext-install mysqli pdo pdo_mysql
- restore_cache:
keys:
- v1-dependencies-{{ checksum "composer.json" }}
- v1-dependencies-
- run: composer install --no-interaction --prefer-dist --optimize-autoloader
- run: php artisan migrate --env=testing --force
- run: php artisan key:generate --env=testing
- run: php artisan passport:install --env=testing
- save_cache:
paths:
- ./vendor
key: v1-dependencies-{{ checksum "composer.json" }}
- run: vendor/bin/phpunit
deploy:
machine:
enabled: true
steps:
- run:
command: |
ssh -v $DROPLET_USER@$DROPLET_IP "eval \`ssh-agent\`; ssh-add ~/.ssh/deploy; cd /opt/scripts; ./deploy.sh"
workflows:
version: 2
build-and-deploy:
jobs:
- build
- deploy:
requires:
- build
filters:
branches:
only: master