Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » Zend Debugger setup woes(Cannot read a valid value of zend_debugger.httpd_uid)
Zend Debugger setup woes [message #493612] Tue, 27 October 2009 09:07 Go to next message
No real name is currently offline No real nameFriend
Messages: 2
Registered: October 2009
Junior Member
Hi, plasticbrain here (the forum control panel is not letting me set my user name). I'm new to PDT and I'm having extreme difficulties setting up Zend Debugger. I've literally spent three days attempting to get it working. Being a newbie, there is a high likelihood that I missed an important step or key concept. Any help would be appreciated.


Setup:
Mac OS X 10.6.1 running localhost Apache 2 with PHP 5.3.0, Eclipse 3.5 for PHP Developers (Galileo SR1, Cocoa 64bit) (PDT 2.1.x), ZendDebugger-5.2.26-darwin9.5-x86_64.


The Problem:
Each time I try to run a debug session, I receive the follow error alert:
Launch Error - Session Terminated
Error launching 'NameOfMyProject'
The debug session could not be started.
Please make sure that the debugger is properly configured as a php.ini directive.


Looking in the Console, I see the following message when I start up apache:
Zend Debugger: Cannot read a valid value of zend_debugger.httpd_uid or zend.httpd_uid, will not perform dropping of privileges


Additional install details:

I've installed the ZendDebugger.so module, made sure the executable bit is set, and have placed the dummy.php file in my main web documents root.

I've entered the following directives into my php.ini and notice that it loads with no errors:
zend_extension=/usr/libexec/apache2/ZendDebugger.so
zend_debugger.allow_hosts=localhost,10.0.1.200/220,127.0.0.0 /32
zend_debugger.expose_remotely=always

phpinfo returns the following Zend-related bits of info, which hints that the Zend debugger is working:
This program makes use of the Zend Scripting Language Engine:
Zend Engine v2.3.0, Copyright (c) 1998-2009 Zend Technologies
with Zend Debugger v5.2, Copyright (c) 1999-2009, by Zend Technologies
Zend Extension: 220090626
Zend Extension Build: API220090626,NTS
Zend Memory Manager: enabled
Zend Multibyte Support: disabled
Directive Local Value (same as Master Value in all cases)
zend_debugger.allow_hosts localhost,10.0.1.200/220,127.0.0.0/32
zend_debugger.allow_tunnel no value
zend_debugger.deny_hosts no value
zend_debugger.expose_remotely always
zend_debugger.httpd_uid -1
zend_debugger.max_msg_size 2097152
zend_debugger.tunnel_max_port 65535
zend_debugger.tunnel_min_port 1024
report_zend_debug: on
zend.enable_gc: on
Re: Zend Debugger setup woes [message #493783 is a reply to message #493612] Wed, 28 October 2009 00:22 Go to previous messageGo to next message
No real name is currently offline No real nameFriend
Messages: 2
Registered: October 2009
Junior Member
I was able to fix my problem by simply installing Zend Studio 7.0.2 (well, the download link reported version 7.0.2 but the version string on the application is 3.5). It apparently installs a fixed-up version of the Zend Debugger.

I wish the Eclipse PDT was updated nicely like Zend Studio. This has not been a friendly introduction to the world of Zend / PDT!
Re: Zend Debugger setup woes [message #493818 is a reply to message #493783] Wed, 28 October 2009 07:50 Go to previous message
Eclipse UserFriend
Originally posted by: mnm.criion.net

Zend and PDT are two different tings. Besides it is stated on the PDT
website that debugging is NOT ready to launch out of the box because of
license issues. To get PDT debug you need to set yup a local webserver
which the debugger can run on.
--
-michael
Previous Topic:generating class methods from an interface
Next Topic:eclipse/pdt setup
Goto Forum:
  


Current Time: Thu Apr 25 14:44:34 GMT 2024

Powered by FUDForum. Page generated in 0.03297 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top