您好,欢迎访问一九零五行业门户网

PHP版本和amfphp兼容性有关问题

php版本和amfphp兼容性问题
之前一直是手动安装lamp环境的,由于重装了系统,所有为了省事就安装安装了appserv,结果发现amfphp 运行不起来,访问gateway.php 这个文件报错,错误如下:‘fatal error: uncaught exception 'verboseexception' with message 'non-static method charsethandler::setmethod() should not be called statically, assuming $this from incompatible context' in c:\appserv\www\amfphp1.9\core\amf\app\gateway.php:134 stack trace: #0 c:\appserv\www\amfphp1.9\core\amf\app\gateway.php(134): amferrorhandler(2048, 'non-static meth...', 'c:\appserv\www\...', 134, array) #1 c:\appserv\www\amfphp1.9\gateway.php(154): gateway->service() #2 {main} thrown in c:\appserv\www\amfphp1.9\core\amf\app\gateway.php on line 134 ’
我想应该是版本兼容性的问题,重新下载了个appserv,php是5.x的,发现一切正常!望像我一样的新手记住这个问题!
其它类似信息

推荐信息