The compatibility between PHP and amfphp has been manually installed in the lamp environment. because the system is reinstalled, APPserv is installed to save trouble. The result shows that amfphp cannot run and access gateway. php file error: 'fatalerror: compatibility problem between Unc PHP and amfphp
Previously, the lamp environment was manually installed. because the system was reinstalled, APPserv was installed to save time. the result showed that amfphp could not run and access gateway. php file error: 'Fatal error: Uncaught exception 'verboseexception' with message 'non-static method CharsetHandler: setMethod () shocould 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'
I think it should be a version compatibility issue. I downloaded an Appserv again. php is 5.x and everything is normal! Hope that new users like me will remember this question!
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service