Problem 1
- The requested PHP extension ext-intl * is missing from your system. Install or enable PHP's intl extension.
Problem 2
- The requested PHP extension ext-redis * is missing from your system. Install or enable PHP's redis extension.
* 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
I’m not sure if it is related, but your required PHP version (5.6.17) seems to be not supported by the Circle environment: https://circleci.com/docs/environment/#php
In my builds I’m using 5.6.14. Could you try updating the constraint?
I haven’t any build on Trusty, all the configs I’ve shared are tested and are working on Precise. It makes me think that your issue is fully related to #3151.
Do you have any chance to test it with Precise and 5.6.14 in order to discard the origin of this problem?
I have a similar issues. My tests previously run in older Ubuntu using PHP 7.0.0RC7, but after upgrading to latest Ubuntu with PHP 7.0.3, the tests complain, as it seems Intl extension is missing:
PHP Fatal error: Uncaught Error: Call to undefined function locale_set_default()
sudo service apache2 restart
apache2: Syntax error on line 210 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.
...fail!
sudo service apache2 restart returned exit code 1
Action failed: sudo service apache2 restart
Using Precise & PHP 7.0.4. I assume this is because libphp5.so isn’t installed with PHP 7.0.4 and Apache fails to restart over that.