Beh, crei un file .php, lo metti in /var/www e poi lo esegui con http://localhost/nomefile.php , no?

Sergej