Let Tomcat parse php_PHP tutorial

WBOY
Release: 2016-07-13 17:45:54
Original
1215 people have browsed it

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"

www.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:...
Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!