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