From 78ccb17a428f45f87e8597707f65b0836621afa4 Mon Sep 17 00:00:00 2001 From: Zach Borboa Date: Sun, 19 Oct 2014 03:56:19 -0700 Subject: [PATCH] Fix #84: PHP 5.3 build failing --- .travis.yml | 1 - tests/before_script.sh | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index a4a6196..28b51cb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,7 +9,6 @@ php: matrix: allow_failures: - - php: 5.3 - php: 5.6 - php: hhvm diff --git a/tests/before_script.sh b/tests/before_script.sh index 1b2e905..4955d7c 100644 --- a/tests/before_script.sh +++ b/tests/before_script.sh @@ -1,5 +1,5 @@ if [[ "${TRAVIS_PHP_VERSION}" == "5.3" ]]; then - sudo add-apt-repository -y ppa:nginx/stable + sudo add-apt-repository -y ppa:nginx/development sudo apt-get update sudo apt-get install -y nginx sudo apt-get install -y php5-fpm @@ -18,6 +18,7 @@ server { fastcgi_pass 127.0.0.1:9000; fastcgi_index index.php; include fastcgi_params; + fastcgi_param SCRIPT_FILENAME \$document_root\$fastcgi_script_name; } } EOF