Home  >  Article  >  Backend Development  >  After installing lamp in ubuntu, the XML encoding and content returned by the debugging WeChat platform are not normal. May I ask why?

After installing lamp in ubuntu, the XML encoding and content returned by the debugging WeChat platform are not normal. May I ask why?

WBOY
WBOYOriginal
2016-10-17 09:30:091304browse

The WeChat official account changed from virtual space to its own vps, using Ubuntu 14, installed lamp, and used php5.6. After debugging WeChat, I found that the content of the response to WeChat was wrong. After var_dump, I found that the normal message should be



< /URL>
Such
actually returns
'&let;xml>&let;URL>&let;/URL>
Like this, I think there is something wrong with the format, please help me, thank you.

Reply content:

The WeChat official account changed from virtual space to its own vps, using Ubuntu 14, installed lamp, and used php5.6. After debugging WeChat, I found that the content of the response to WeChat was wrong. After var_dump, I found that the normal message should be



< /URL>
Such
actually returns
'&let;xml>&let;URL>&let;/URL>
Like this, I think there is something wrong with the format, please help me, thank you.

Statement:
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