bin/apache.conf
<VirtualHost *:80>
ServerName localhost
DirectoryIndex index.php
DocumentRoot %TRAVIS_BUILD_DIR%/pub
<Directory %TRAVIS_BUILD_DIR%/pub>
Options FollowSymLinks MultiViews ExecCGI
AllowOverride All
Require all granted
</Directory>
<IfModule mod_fastcgi.c>
AddHandler php5-fcgi .php
Action php5-fcgi /php5-fcgi
Alias /php5-fcgi /usr/lib/cgi-bin/php5-fcgi
FastCgiExternalServer /usr/lib/cgi-bin/php5-fcgi -host 127.0.0.1:9000 -pass-header Authorization
<Directory /usr/lib/cgi-bin>
Require all granted
</Directory>
</IfModule>
LogLevel warn
ErrorLog "/var/log/apache2/apache-error.log"
CustomLog "/var/log/apache2/apache-access.log" combined
</VirtualHost>