I'm trying to run a little piece of Php code in my Tomcat 8.0.36. I have seen I need Quercus in order to do that.
I have uncompressed the Quercus.war in my tomcat/webapps and renamed it to php (tomcat/webapps/php) and I have created a file (called info.php) with this code:
<?php
phpinfo();
?>
When I start the server, if I go to
localhost:8080/php/info.php
I get the result I want to, but if I do the same in
localhost:8080/myApp/info.php
the browser just show me the php code as plain text.
How can I fix this?
Thank you in advance.