#1  
Old 3rd December 2008, 21:03
realshock realshock is offline
Junior Member
 
Join Date: Nov 2008
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default PHP Debug?

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?

Thanks
Reply With Quote
Sponsored Links
  #2  
Old 5th December 2008, 01:06
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,751 Times in 2,581 Posts
 
Default

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.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ffmpeg Video support for ubuntu 7.10 [suphp-ispconfig] amaurib Installation/Configuration 13 16th February 2010 18:26
ispconfig php 5 errors itamarjp Installation/Configuration 8 25th April 2008 11:20
/tmp filled with clamav files --> user over quota ArnOS Installation/Configuration 28 15th March 2008 10:19
network issues now it says "401 The web site is blocked by administrator" Check General 3 26th February 2008 15:22
Apache2 Freezes celtic Server Operation 31 28th May 2007 18:18


All times are GMT +2. The time now is 07:12.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.