I’m configuring this for PHP and Laravel using CircleCI v2.
I’m getting this error in:
- run: name: Run Unit tests command: vendor/bin/phpunit
I read about, and some people say that it was because of php xdebug. I was able to install php-xdebug, and the next step is about configuring php.ini which I’m unable to find, I run php --ini and get the following:
#!/bin/bash -eo pipefail php --ini Configuration File (php.ini) Path: /usr/local/etc/php Loaded Configuration File: (none) Scan for additional .ini files in: /usr/local/etc/php/conf.d Additional .ini files parsed: /usr/local/etc/php/conf.d/docker-php-ext-mcrypt.ini, /usr/local/etc/php/conf.d/docker-php-ext-pdo_mysql.ini, /usr/local/etc/php/conf.d/docker-php-ext-zip.ini
and what I understand is that I have none php.ini file, after some more reading, someone clarify that php uses a php.ini file and apache uses another php.ini file, and that maybe apache is not installed, so I run apachectl -V && whereis apache2 and everything looks good.
I really want to set up the code coverage here, this is only for educational porpuses and the project will be open to any after done, so others can learn.