Tools required:
(1) apache tomcat
(2) Quercus
Quercus jar package under web-inf/lib/, put it under $TOMCAT_HOME/lib, modify the $TOMCAT_HOME/conf/web.xml file, and add the following servlet mapping:
Xml code
Quercus Servlet
com.caucho.quercus.servlet.QuercusServlet
Quercus Servlet
*.php
OK, restart tomcat
Add a php page to the previously deployed jsp project, and then access the page
php page, the content is as follows:
Php code
echo "Hello World";
phpinfo();
?>
Author "irfen"
http://www.bkjia.com/PHPjc/478644.htmlwww.bkjia.comtruehttp: //www.bkjia.com/PHPjc/478644.htmlTechArticleRequired tools: (1) apache tomcat (2) Quercus Quercus jar package under web-inf/lib/ , put it under $TOMCAT_HOME/lib, modify the $TOMCAT_HOME/conf/web.xml file, and add the following servlet mapping:...
Statement:The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn