diff --git a/.travis.yml b/.travis.yml
index 8aaa0080ebebe2ebc1ea520e0331374d299a3c82..f91967481530d44a9f31474d7bfa0bbea66162db 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -31,6 +31,6 @@ script:
   - scons bindings=$BINDINGS
 after_script:
   - scons test
-  - if [ "$BINDINGS" == "php" ]; then phpunit --include-path build/opt/src/bindings/php -v src/bindings/php/Tests; fi
+  - if [ "$BINDINGS" == "php" ]; then LD_LIBRARY_PATH=build/opt/src phpunit -v src/bindings/php/Tests; fi
 notifications:
   irc: "irc.upstandinghackers.com#hammer"