zoukankan      html  css  js  c++  java
  • paip. 混合编程的实现resin4 (自带Quercus ) 配置 php 环境



    paip. 混合编程的实现resin4 (自带Quercus ) 配置 php 环境

    #---混合编程的类型
    1.代码inline 方式
    2.使用库/api  解析方式.


    #----配置resin 支持php
    resin4默认自动支持php..
    也能手动配置了.web.xml加php的servlet解析..参考Quercus让你的PHP开心在Servlet容器奔跑

    #----配置 php.ini路线
    运行t.php,,看见
    Configuration File (php.ini) Path => /D:/0watcheskof_0417/WEB-INF/php.ini

    #----mysql的支持
    自动生成李D:\0watcheskof_0417\WEB-INF\目录..建立lib目录,不个不个mysql-connector-java-5.1.7-bin 放类k..走ok兰.行上驱动兰.


    作者 老哇的爪子 Attilax 艾龙,  EMAIL:1466519819@qq.com
    转载请注明来源: http://blog.csdn.net/attilax


    #----.htaccess( url rewrite ) 的支持
    .htaccess ..这个是apache的url rewire配置文件.
    所以,别的的服务器通常不支持..例如iis,Ngix,,Squid都有自己的rewrite配置文件.
    Quercus doesn't support .htaccess rules. You'll need to configure them on the http server level. If you use Resin, you can use Resin's Rewrite rules to do pretty much do anything you want.
    或者自己parse这个文件

    只有转换写为另一个server支持的url rewrite规则..



    参考
    Quercus让你的PHP开心在Servlet容器奔跑-基于 Java 的 PHP 框架 -- WooYun(白帽子技术社区) -- 网络安全资讯、讨论,跨站师,渗透师,结界师聚集之地又一个有意思的地方 我要啦免费统计
  • 相关阅读:
    使用javaDate类代数据仓库维度表
    Hermes和开源Solr、ElasticSearch 不同
    MapReduce 异常 LongWritable cannot be cast to Text
    吐槽CSDN编辑
    Codeforces 452A Eevee
    看不清楚未来,请做好如今
    JDBC数据库连接
    mixpanel实验教程(2)
    使用jquery+一般处理程序异步载入信息
    Eclipse中的Maven项目报Unbound classpath variable错误
  • 原文地址:https://www.cnblogs.com/attilax/p/15199236.html
Copyright © 2011-2022 走看看