Hello guys, I m trying to run a simple php code.
I have Apache Tomcat/6.0.18 running.
I dont know if it is php enabld or not.
i've created a hello.php file:

<html>
<body>
<p>This is going to be ignored.</p>
<?php echo 'While this is going to be parsed.'; ?>
<p>This will also be ignored.</p>

</body>
</html>

and put this file in the ../webapps/root dir.
When i run the file , this is the output:

This is going to be ignored.

This will also be ignored.

I dont know where the problem is?
Thank you.

Wrong forum mate

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.