Connecting Tech Pros Worldwide Help | Site Map

Advanced PHP Debugger

jabarker1@gmail.com
Guest
 
Posts: n/a
#1: Jul 7 '08
Hey everyone!

First thanks to those of you that try and help me with my problem
here. Okay, now on to the issue at hand.

My setup is as follows:
• OS: Ubuntu Gutsy (6.3)
• PHP: 5.2.3 as an Apache2 handler.

Okay, I've intalled the APD extension by pecl install apd and also by
downloading the source and compiling, neither working.

According to phpinfo() the extension is installed and the Zend engine
is showing that it contains the debugger, but everytime I try to run
my script and I throw in the trace function (apd_set_pprof_trace()) I
get the following:

Fatal error: Call to undefined function apd_set_pprof_trace()

Any help is much appreciated!
TWayne
Guest
 
Posts: n/a
#2: Jul 7 '08

re: Advanced PHP Debugger


Hey everyone!
Quote:
>
First thanks to those of you that try and help me with my problem
here. Okay, now on to the issue at hand.
>
My setup is as follows:
• OS: Ubuntu Gutsy (6.3)
• PHP: 5.2.3 as an Apache2 handler.
>
Okay, I've intalled the APD extension by pecl install apd and also by
downloading the source and compiling, neither working.
>
According to phpinfo() the extension is installed and the Zend engine
is showing that it contains the debugger, but everytime I try to run
my script and I throw in the trace function (apd_set_pprof_trace()) I
get the following:
>
Fatal error: Call to undefined function apd_set_pprof_trace()
>
Any help is much appreciated!
Please learn how to cross-post:

How to Post to more than one group:
http://en.wikipedia.org/wiki/Crossposting



Jerry Stuckle
Guest
 
Posts: n/a
#3: Jul 7 '08

re: Advanced PHP Debugger


TWayne wrote:
Quote:
Quote:
>Hey everyone!
>>
>First thanks to those of you that try and help me with my problem
>here. Okay, now on to the issue at hand.
>>
>My setup is as follows:
> • OS: Ubuntu Gutsy (6.3)
> • PHP: 5.2.3 as an Apache2 handler.
>>
>Okay, I've intalled the APD extension by pecl install apd and also by
>downloading the source and compiling, neither working.
>>
>According to phpinfo() the extension is installed and the Zend engine
>is showing that it contains the debugger, but everytime I try to run
>my script and I throw in the trace function (apd_set_pprof_trace()) I
>get the following:
>>
>Fatal error: Call to undefined function apd_set_pprof_trace()
>>
>Any help is much appreciated!
>
Please learn how to cross-post:
>
How to Post to more than one group:
http://en.wikipedia.org/wiki/Crossposting
>
>
>
>
He did crosspost.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

jabarker1@gmail.com
Guest
 
Posts: n/a
#4: Jul 7 '08

re: Advanced PHP Debugger


On Jul 6, 5:39*pm, "TWayne" <nob...@devnull.spamcop.netwrote:
Quote:
Quote:
Hey everyone!
>
Quote:
First thanks to those of you that try and help me with my problem
here. Okay, now on to the issue at hand.
>
Quote:
My setup is as follows:
*• OS: Ubuntu Gutsy (6.3)
*• PHP: 5.2.3 as an Apache2 handler.
>
Quote:
Okay, I've intalled the APD extension by pecl install apd and also by
downloading the source and compiling, neither working.
>
Quote:
According to phpinfo() the extension is installed and the Zend engine
is showing that it contains the debugger, but everytime I try to run
my script and I throw in the trace function (apd_set_pprof_trace()) I
get the following:
>
Quote:
Fatal error: Call to undefined function apd_set_pprof_trace()
>
Quote:
Any help is much appreciated!
>
Please learn how to cross-post:
>
How to Post to more than one group:http://en.wikipedia.org/wiki/Crossposting
I posted to this to two groups, not sure what you mean.
Joff
Guest
 
Posts: n/a
#5: Jul 7 '08

re: Advanced PHP Debugger


I know this may seem like a silly response but have you double checked
your code and made sure there are no errors in that...

If that fails try removing apache and addons and then start again, I
had a similar problem trying to get ioncube to work but a reinstall of
apache fixed it
Twayne
Guest
 
Posts: n/a
#6: Jul 7 '08

re: Advanced PHP Debugger


On Jul 6, 5:39 pm, "TWayne" <nob...@devnull.spamcop.netwrote:
Quote:
Quote:
Quote:
>>Hey everyone!
>>
Quote:
>>First thanks to those of you that try and help me with my problem
>>here. Okay, now on to the issue at hand.
>>
Quote:
>>My setup is as follows:
>>• OS: Ubuntu Gutsy (6.3)
>>• PHP: 5.2.3 as an Apache2 handler.
>>
Quote:
>>Okay, I've intalled the APD extension by pecl install apd and also
>>by downloading the source and compiling, neither working.
>>
Quote:
>>According to phpinfo() the extension is installed and the Zend
>>engine is showing that it contains the debugger, but everytime I
>>try to run my script and I throw in the trace function
>>(apd_set_pprof_trace()) I get the following:
>>
Quote:
>>Fatal error: Call to undefined function apd_set_pprof_trace()
>>
Quote:
>>Any help is much appreciated!
>>
>Please learn how to cross-post:
>>
>How to Post to more than one
>group:http://en.wikipedia.org/wiki/Crossposting
>
I posted to this to two groups, not sure what you mean.
Hmm, sorry 'bout that. Apparently I had a server burp or something -
Jerry said you did crosspost and your headers show crosspost now too, so
.... what can I say?

Sorry.

Cheers,

Twayne



John Barker
Guest
 
Posts: n/a
#7: Jul 7 '08

re: Advanced PHP Debugger


On Jul 7, 3:32*am, Joff <Jonathan.Benne...@gmail.comwrote:
Quote:
I know this may seem like a silly response but have you double checked
your code and made sure there are no errors in that...
>
If that fails try removing apache and addons and then start again, I
had a similar problem trying to get ioncube to work but a reinstall of
apache fixed it
Well, for debugging purposed I have made the script as simple as I can
possibly get by simply just including the apd_set_pprof_trace()
function simply followed by a echo 'test';

I haven't tried rebuilding Apache so I may try that next, but for some
reason I have a sense that it won't work. I have read elsewhere that
APD has been kind of buggy with PHP5, but the most recent release of
APD was supposed to fix this. Hrmm. Thanks for the replies guys!

@Twayne - No worries!

Cheers,
John
Piotr
Guest
 
Posts: n/a
#8: Jul 8 '08

re: Advanced PHP Debugger


jabarker1@gmail.com wrote:
Quote:
Hey everyone!
>
First thanks to those of you that try and help me with my problem
here. Okay, now on to the issue at hand.
>
My setup is as follows:
� OS: Ubuntu Gutsy (6.3)
� PHP: 5.2.3 as an Apache2 handler.
>
Okay, I've intalled the APD extension by pecl install apd and also by
downloading the source and compiling, neither working.
>
According to phpinfo() the extension is installed and the Zend engine
is showing that it contains the debugger, but everytime I try to run
my script and I throw in the trace function (apd_set_pprof_trace()) I
get the following:
>
Fatal error: Call to undefined function apd_set_pprof_trace()
>
Any help is much appreciated!
Ok, I know this is not the a proper answer to your question,
but both Xdebug and ZendDebugger are more mature and have greater user
base. So maybe it will be better to use one of those.
ADP is not actively developed, last version is almost 4 years old
(according to pecl).
You can install xdebug with pecl installer. you are also likely to find
that best php IDEs support xdebug or zenddebugger (or both).

best regards
Piotr N
Closed Thread


Similar PHP bytes