Configuring PHP on Tomcat gives exception: UnsatisfiedLinkError
问题 I have been trying to use PHP on Tomcat (don't ask why, I just have to), and have been following the Configure PHP with Tomcat and several tutorials given for PHP with PECL & Tomcat. I've done most of the things required by the tutorials, like setting all the environment variables that are required, but I still run into errors such as the one shown below, on startup: javax.servlet.ServletException: Servlet.init() for servlet php threw exception org.apache.catalina.valves.ErrorReportValve