summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2014-05-15 23:39:40 +0200
committerBernhard Posselt <dev@bernhard-posselt.com>2014-05-15 23:39:40 +0200
commitf80972e745ee2b190498b5bcb3a2ebef40619072 (patch)
treedaeafb825d9576c25276766eb5ab003d454d0361 /tests
parentfcdaf9e6adb0e6e786bc06bde56397bc08b7ca28 (diff)
try to install php-fpm
Diffstat (limited to 'tests')
-rw-r--r--tests/travis/travis-ci-apache20
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/travis/travis-ci-apache b/tests/travis/travis-ci-apache
new file mode 100644
index 000000000..5b36cd374
--- /dev/null
+++ b/tests/travis/travis-ci-apache
@@ -0,0 +1,20 @@
+<VirtualHost *:80>
+
+ DocumentRoot %TRAVIS_BUILD_DIR%
+
+ <Directory "%TRAVIS_BUILD_DIR%">
+ Options FollowSymLinks MultiViews ExecCGI
+ AllowOverride All
+ Order deny,allow
+ Allow from all
+ </Directory>
+
+ # Wire up Apache to use Travis CI's php-fpm.
+ <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
+ </IfModule>
+
+</VirtualHost> \ No newline at end of file