Apache Tomcat+Quercus+RadPHP 解析出错的问题
时间:2011-04-08
来源:互联网
最近学习RadPHP,直接用RadPHP自带的Apache服务配置是可以运行。我想用Apache2.2.17版本,做服务器,也安装PHP5.3.6,可是配置运行不起来。
在网络上找到别人用Apache Tomcat + Quercus,可以解析RadPHP。我也下载Apache Tomcat 7.0.12+ Quercus-4.0.11.war
,参照其说明。是可以运行。页面也解析运行成功。
PHP code
可是点一下按钮,却会出错,提示信息如下:
Application raised an exception class Exception with message 'The Input Filter PHP extension is not setup on this PHP installation, so the contents returned by Input is *not* filtered'
Click for detailed information
C:\Program Files\Apache Software Foundation\Tomcat 7.0\webapps\t1\rpcl\classes.inc.php:136: Warning: file name must not be null [error_log]
在网络上找到别人用Apache Tomcat + Quercus,可以解析RadPHP。我也下载Apache Tomcat 7.0.12+ Quercus-4.0.11.war
,参照其说明。是可以运行。页面也解析运行成功。
PHP code
<?php require_once("rpcl/rpcl.inc.php"); //Includes use_unit("forms.inc.php"); use_unit("extctrls.inc.php"); use_unit("stdctrls.inc.php"); //Class definition class Page1 extends Page { public $Edit1 = null; public $Button1 = null; public $Label1 = null; function Button1Click($sender, $params) { $this->Edit1->Text="测试一下"; } function Page1Create($sender, $params) { } } global $application; global $Page1; //Creates the form $Page1=new Page1($application); //Read from resource file $Page1->loadResource(__FILE__); //Shows the form $Page1->show(); ?>
可是点一下按钮,却会出错,提示信息如下:
Application raised an exception class Exception with message 'The Input Filter PHP extension is not setup on this PHP installation, so the contents returned by Input is *not* filtered'
Click for detailed information
C:\Program Files\Apache Software Foundation\Tomcat 7.0\webapps\t1\rpcl\classes.inc.php:136: Warning: file name must not be null [error_log]
作者: lxycsdn 发布时间: 2011-04-08
Apache2.2.17要装只能vc6非nts版php5.3.x,而PHP5.3.6目前好像没有vc6版,所以你装不上和redphp问题不大
很明显的问题是,你Apache Tomcat + Quercus缺乏必要的php扩展!
很明显的问题是,你Apache Tomcat + Quercus缺乏必要的php扩展!
作者: hnxxwyq 发布时间: 2011-04-09
相关阅读 更多
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28