I use Apache 2.2 and I save all my php files inside the htdocs folder. Even if I create very simple codes like
<html>
<body>
<?php echo "Hello World"; ?>
</body>
</html>
and save it as try.php, it still doesn't work. My browser just shows the code I made.
I also use dreamweaver or notepad to create php files. I use xampp before and it was working fine.
I replaced it with apache today and this problem has started. Can anyone help me with this? Thanks
<html>
<body>
<?php echo "Hello World"; ?>
</body>
</html>
and save it as try.php, it still doesn't work. My browser just shows the code I made.
I also use dreamweaver or notepad to create php files. I use xampp before and it was working fine.
I replaced it with apache today and this problem has started. Can anyone help me with this? Thanks