I am new to CircleCI. I’ve tried almost 30 different builds to get something, anything to work, and whittled down the a very simple circle.yml
and still getting failure. The last circle.yml
I tried is:
machine:
timezone:
America/New_York
php:
version: 5.6.22
dependencies:
post:
- sudo service apache2 restart
test:
override:
- echo 'No tests, just say us Okay!'
The command and subsequent error message follows, and I used SSH to debug and the /usr/lib/apache2/modules/libphp5.so
file was definitely there (as a symlink). I even tried chown
ing it to www-data:www-data
but that did not help either:
$ sudo service apache2 restart
* Restarting web server apache2
...fail!
* The apache2 configtest failed.
Output of config test was:
apache2: Syntax error on line 140 of /etc/apache2/apache2.conf: Syntax error on line 1 of /etc/apache2/mods-enabled/php5.load: Cannot load /usr/lib/apache2/modules/libphp5.so into server: /usr/lib/apache2/modules/libphp5.so: cannot open shared object file: No such file or directory
Action 'configtest' failed.
The Apache error log may have more information.
sudo service apache2 restart returned exit code 1
Action failed: sudo service apache2 restart
Any ideas what I am doing wrong?