PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Thursday, February 17, 2022

[FIXED] Advice (debug php on OSX Mountain Lion with MAMP)

 February 17, 2022     mamp, php     No comments   

Issue

I need to find a way of debug my localhost php experiences. When coding, and since I'm a begginer most of times I make errors that return an Internal Server Error.

Is there any way of having some plugin or something that teels me where is the error? Per example something like: Error on line 54 or something similar.

Thanks


Solution

This is actually not possible with php, as it is not compiled. Better is to have a debugger that lets you step through your code line by line and shows you the state of your application. In PHP-world this module is called xdebug http://xdebug.org/



Answered By - Jojo
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing