diff --git a/tests/test_php5.py b/tests/test_php5.py
index 5a6d045bdf029968ce95a2ffc93cf77f208f86d4..2c82b53a88c009077ed7761951e511ff16c91614 100644
--- a/tests/test_php5.py
+++ b/tests/test_php5.py
@@ -13,3 +13,11 @@ def test_composer(Command):
 
 def test_pear(Command):
     assert Command('pear version').stdout.startswith('PEAR Version')
+
+
+def test_php_ini(Command):
+    command = Command('php5 --info')
+    assert command.rc == 0
+    assert 'PHP Version => 5' in command.stdout
+    assert 'syntax error' not in command.stdout
+    assert 'syntax error' not in command.stderr