« | August 2025 | » | 日 | 一 | 二 | 三 | 四 | 五 | 六 | | | | | | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | | | | | | | |
| 公告 |
戒除浮躁,读好书,交益友 |
Blog信息 |
blog名称:邢红瑞的blog 日志总数:523 评论数量:1142 留言数量:0 访问次数:9698905 建立时间:2004年12月20日 |

| |
Quercus resin下java实现的php5 原创空间, 软件技术
邢红瑞 发表于 2005/10/12 17:45:27 |
esin终于支持php5了,当然需要jdk5的支持。在WEB-INF下建立resin-web.xml内容为<web-app xmlns="http://caucho.com/ns/resin"> <servlet servlet-name="resin-php" servlet-class="com.caucho.quercus.servlet.QuercusServlet"/>
<servlet-mapping url-pattern="*.php" servlet-name="resin-php"/> </web-app>
然后建立一个php文件<?php echo phpinfo(); ?>出现QuercusPHP Version => 5.0.4System => Windows 2000 5.0 x86Build Date => 20060810T120319Configure Command => n/aServer API => CGIVirtual Directory Support => disabledConfiguration File (php.ini) Path => WEB-INF/php.iniPHP API => 20031224PHP Extension => 20041030Debug Build => noThread Safety => enabledRegistered PHP Streams => php, file, http, https配置成功。 |
|
回复:Quercus resin下java实现的php5 原创空间, 软件技术
潛龍勿用(游客)发表评论于2010/11/22 16:36:20 |
不知道為什麼,我用resin發布的PHP應用全部都連接不上數據庫,用apache+PHP支持模塊發布就很正常。
不知道你有沒有碰到這個問題?能否指點一二?我在caucho官方文檔中也沒找到原因。。 |
|
回复:Quercus resin下java实现的php5 原创空间, 软件技术
ninki(游客)发表评论于2007/9/20 14:02:22 |
php文件部署到resin后,有//注释和包含中文的行都报错
500 Servlet Exception/C:/resin/webapps/php_test/class/tools/WebUtil.php:22: java.io.CharConversionException:illegal utf8 encoding at 0xd3, c3Check that the script-encoding setting matches the source file's encoding |
|
回复:Quercus resin下java实现的php5 原创空间, 软件技术
深空(游客)发表评论于2006/10/17 13:34:50 |
|
» 1 »
|