diff --git a/tests/test_php7.py b/tests/test_php7.py
index 15d3302365fb4470582675c867ddce20c03fe154..388b8818bafd1ef234c440c57d223565d0106008 100644
--- a/tests/test_php7.py
+++ b/tests/test_php7.py
@@ -4,7 +4,7 @@ testinfra_hosts = AnsibleRunner('.molecule/ansible_inventory').get_hosts('all')
 
 
 def test_php7(Command):
-    assert Command('php7 --version').stdout.startswith('PHP 7')
+    assert Command('php7.0 --version').stdout.startswith('PHP 7')
 
 
 def test_composer(Command):
@@ -16,7 +16,7 @@ def test_pear(Command):
 
 
 def test_php_ini(Command):
-    command = Command('php7 --info')
+    command = Command('php7.0 --info')
     assert command.rc == 0
     assert 'PHP Version => 7' in command.stdout
     assert 'syntax error' not in command.stdout