Paip. Implementation of hybrid programming resin4 (with Quercus) Configure PHP environment
#---Types of mixed programming
1. Code inline mode
2. Use the library/api parsing method.
#----Configuration Resin support PHP
RESIN4 automatically supports PHP by default.
You can also manually configure the servlet parsing for. Web. XML plus PHP. Reference Quercus make your PHP happy to run in the servlet container
#----Configure PHP.ini route
Run t.php,, see
Configuration File (php.ini) Path = =/d:/0watcheskof_0417/web-inf/php.ini
#----support for MySQL
Automatically generate Li D:\0watcheskof_0417\WEB-INF\ directory. Build Lib directory, not a mysql-connector-java-5.1.7-bin put class K. Take the OK LAN and drive the flange on the line.
Author of Old Wow's Paw attilax Ayron, email:[email protected]
Reprint please indicate source: Http://blog.csdn.net/attilax
#----. support for htaccess (URL rewrite)
. htaccess. This is the Apache URL rewire configuration file.
Therefore, other servers typically do not support: For example, Iis,ngix,,squid has its own rewrite configuration file.
Quercus doesn ' t support. htaccess rules. You'll need to configure them on the HTTP server level. If you use the Resin, you can use Resin's Rewrite rules to does pretty much do anything you want.
Or you could parse this file yourself.
Only the translation is written as another server-supported URL rewrite rule:
Reference
Quercus make your php happy in the servlet container run-Java-based PHP framework--Wooyun (white Hat technology community)--cyber security information, discussion, cross-site division, Infiltration Division, and the place where the architects gather is another interesting area.