diff --git a/.travis.yml b/.travis.yml
index f91967481530d44a9f31474d7bfa0bbea66162db..78ab999acf104d1c87cbea5fd8f6eda17be7e59d 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -25,12 +25,12 @@ matrix:
 before_install:
   - sudo apt-get update -qq
   - if [ "$BINDINGS" == "php" ]; then sudo apt-get install -qq swig php5-dev; fi
-before_script:
-  - if [ "$BINDINGS" == "php" ]; then phpenv config-add src/bindings/php/hammer.ini; fi
+#before_script:
+#  
 script: 
   - scons bindings=$BINDINGS
 after_script:
   - scons test
-  - if [ "$BINDINGS" == "php" ]; then LD_LIBRARY_PATH=build/opt/src phpunit -v src/bindings/php/Tests; fi
+  - if [ "$BINDINGS" == "php" ]; then phpenv config-add src/bindings/php/hammer.ini; LD_LIBRARY_PATH=build/opt/src phpunit -v src/bindings/php/Tests; fi
 notifications:
   irc: "irc.upstandinghackers.com#hammer"