Bonsoir a tous!

Voici mon problème, je suis sous kali Linux en depuis un certain temps je souhaite faire du développement web avec PHP mais je bloque toujours au niveau de la configuration de ce dernier avec apache2. En fait j'ai PHP7 et je n'ai pas voulu passer par XAMPP j'aimerais utiliser mon éditeur de texte, mon interpréteur PHP et mon serveur web. j'ai cherché sur Google mais aucune solution n'a résolu mon problème jusqu’à présent je ne comprend vraiment rien. tout code PHP que j'essaye d’exécuter me renvoi ce message:
Not Found

The requested URL /var/www/index.php was not found on this server.
Apache/2.4.25 (Debian) Server at localhost Port 80
j'ai même essayer a un moment de passer par XAMPP la encore c’était impossible, encore un autre message d'erreur
Object not found!

The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again.

If you think this is a server error, please contact the webmaster.
Error 404
localhost
Apache/2.4.23 (Unix) OpenSSL/1.0.2j PHP/7.0.9 mod_perl/2.0.8-dev Perl/v5.16.3
merci deja a ceux qui sacrifirons un peu de leur remps pour m'aider!

cordialement!!!