Paip. Implementation of hybrid programming resin4 (with Quercus) Configure PHP environment

Source: Internet
Author: User
Tags php framework



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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.