PHP Debug?

Discussion in 'Programming/Scripts' started by realshock, Dec 3, 2008.

  1. realshock

    realshock New Member

    Debugging PHP?
    I'm a newbie to PHP in general. I know some basic concepts but not a programer by any means. I have a script that used to run just fine under PHP4 .... I do # php quarantine_report.php and it generates and email reports for quarantined spam.

    After an upgrade to PHP5 i excuate the same command and get nothing at all. I tried to turn on error reporting and debuging optoins in php.ini but no luck.

    I there a way to debug php script while running?
    Can someone point me in the right direction?

  2. falko

    falko Super Moderator Howtoforge Staff

    You could put some echo and print_r commands in the file to print out the values of certain variables or arrays during the script.
  3. clod

    clod New Member

    I recommend to try CodeLobster IDE
  4. kmchen

    kmchen Member

Share This Page