The problem has been resolved. Was there The abrasion that apache2 was not actually started. I installed a Wamp server and set the port to 78 (because 80 was busy). After all I gave permission by turning "deny from all" to "allow from all" in httpd.conf. Now I can code php and enjoy it. I hope you enjoy coding, too.
Warmest Regards, Parsa