Hello,

How can I run a PHP file in Tomcat server? I know it works fine in Apache.

Please help

Thanks

You can't. Tomcat is a servlet engine - it has nothing to do with PHP. You'll need Apache with PHP installed.
Edit: Scratch that. I spoke too soon. I guess there are ways to hook them up: http://wiki.apache.org/tomcat/UsingPhp

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.