我有一个使用android json php和mysql设置的应用程序。 我的问题是:
在php文件中我有各种打印和回显命令,我喜欢看他们的输出,以便看看发生了什么。
php文件在网络上,我的服务器是debian 7
我通常如何调试php并检查json语句?
建议的方式是什么? 不好意思,没有代码的例子会在以后生成功能更强大的设备时进行编辑。
I have an app that use android json php and mysql setup. My question is:
In the php file i have various print and echo commands which i like to see their output in order to see what is going on.
The php file is in the web and my server is debian 7
How do i usually go about debugging the php and check the json statements?
What is the or some of the recommended ways. Excuse me for the no code example will edit it later when ill be infront of more capable device.
最满意答案
通过php命令从服务器运行php解决了。 这提供了更详细和准确的错误消息
php fileuwanttocheck.phpsolved by running php from the server with the php command. that gives much more detailed and accurate error messages
php fileuwanttocheck.php更多推荐
发布评论