Jump to content

How to trace the PHP code on server side


YigalB

Recommended Posts

I am using 2 computers to develop my web site: Linux Ubuntu with PHP server on one computer, and XP machine as the client side.

Basically things are OK, but it's not always easy to debug using printing messages.

 

Is there a way to trace step by step and see the progress of the code, maybe even with visibility on the variables on the server diode?

Link to comment
Share on other sites

I have no idea what you mean by a server diode, but do some research on XDebug or Zend Debugger, both can do what you need.

The word "diode' should have been "side". I overlooked the speller.

 

I think that XDebug looks good for me, I will install and see how it goes.

Any advice which of these would be better for a newbie to debug PHP code?

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.