4 # @see https://github.com/travis-ci/travis-ci.github.com/blob/master/docs/user/languages/php.md#apache--php
6 sudo a2enmod rewrite actions fastcgi alias
9 hhvm -m daemon -vServer.Type=fastcgi -vServer.Port=9000 -vServer.FixPathInfo=true
11 # configure apache virtual hosts
12 sudo cp -f tests/ci/travis/apache_vhost_hhvm /etc/apache2/sites-available/default
13 sudo sed -e "s?%TRAVIS_BUILD_DIR%?$(pwd)?g" --in-place /etc/apache2/sites-available/default
14 sudo service apache2 restart