diff --git a/occ b/occ
index e2b71fe4abc09a846921d05ce202c93493f33e50..7e47585b01ef78f4d8bc1c81b608ee50b29e56d6 100755
--- a/occ
+++ b/occ
@@ -1,4 +1,4 @@
-#!/usr/bin/php
+#!/usr/bin/env php
 <?php
 /**
  * Copyright (c) 2013 Thomas Müller <thomas.mueller@tmit.eu>