来自php的print和echo命令

编程入门 行业动态 更新时间:2024-10-12 16:22:25
来自php的print和echo命令 - 远程激活时查看以进行调试(print and echo commands from php - view when activated remotly for debugging purposes)

我有一个使用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.php

solved by running php from the server with the php command. that gives much more detailed and accurate error messages

php fileuwanttocheck.php

更多推荐

本文发布于:2023-04-29 02:53:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1334464.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:命令   php   print   echo

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!