Home > Backend Development > PHP Tutorial > PHP版本和amfphp兼容性有关问题

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

WBOY
Release: 2016-06-13 13:05:38
Original
930 people have browsed it

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的,发现一切正常!望像我一样的新手记住这个问题!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template