create a new file in your web root

lighttpd / apache:

vim /var/www/info.php

with the content:

<?php
phpinfo();
?>

access your webserver with your browser

http://192.168.1.222/info.php

you should get something like this:

php.ini currently used

Loaded Configuration File /etc/php5/cgi/php.ini
admin