![]() |
| [resolved] DBG 2.15 not working, at all |
|
Haven't gotten the slightest debugger-like behavior out of it.
I am trying to run locally on a Linux machine, using the CLI and running scripts directly (which would, I think, be the simplest case). I put the so in the lib directory under the name dbg.so-5.1.x (I am running PHP 5.1.6) I put the following at the end of the php.ini
phpinfo returns the following:
I wrote a simple PHP script:
And here's what happens (or fails to happen):
No plausible perturbation I could think of in any of these steps made the slightest observable difference. So tell me, is it possible to get DBG to do anything? If so, how? |
||||||||||||||||||||
|
|
|||||||||||||||||||||
|
Site Admin
|
DBG 2.15 (free version) is not compatible with php opcode caches like eAccelerator.
|
||||||||||||
|
_________________ The PHP IDE team |
|||||||||||||
| [NOT resolved] DBG 2.15 not working, at all |
|
I commented the eAccelerator description out of /etc/php.ini and the phpinfo() no longer reports it as present, but DBG maintains its sphinx-like silence on the subject.
Any ideas of how I might go about debugging the debugger? Thanks.
|
||||||||||||||||||
|
|
|||||||||||||||||||
|
Site Admin
|
is there only one php in your system?
will it see its configuration file if you run it from say your home directory? did you set debugger PORT value to 7869? |
||||||||||||
|
_________________ The PHP IDE team |
|||||||||||||
|
Site Admin
|
I meant debugger port in dbg-cli: set port 7869 also, it's not clear if you set path to php: set cgiexec /usr/bin/php-cgi and turned http mode off: set mode off |
||||||||||||||
|
_________________ The PHP IDE team |
|||||||||||||||
|
Thanks for the quick reply.
I didn't before, but now:
|
||||||||||||||||||
|
|
|||||||||||||||||||
|
Site Admin
|
if php-cgi is not in /usr/bin, where is it?
Is what you run php-cgi or php cli? Debugger console supports only HTTP mode and CGI mode. Php cli is not supported (at the moment). |
||||||||||||
|
_________________ The PHP IDE team |
|||||||||||||
|
I don't know and neither does "find" on my computer. Google doesn't know much on the subject either. What I run from the command line is "php". Is that CGI or CLI? How can I tell? Is there a pre-compiled version of php-cgi 5.1.6 for Linux I could download? |
||||||||||||||
|
|
|||||||||||||||
|
Site Admin
|
You may want to check your linux distro to see if php-cgi is included there. Most probably it is.
To see whether particular php binary is CGI or CLI you only need to check its output for --version command line option. For example PHP 5.1.6 (cgi) or PHP 5.1.6 (cgi-fcgi) will be shown for CGI. |
||||||||||||
|
_________________ The PHP IDE team |
|||||||||||||
|
And no, php-cgi doesn't seem to be anywhere on my computer. So I'm screwed? Spending a day downloading and compiling PHP from source just so DBG will work isn't very appealing, given my track record with it so far. |
||||||||||||||||
|
|
|||||||||||||||||
|
Site Admin
|
hmm. People rarely need to debug their php scripts under CLI. What they need the most is debugging their web sites and DBG is very strong in this area. Did you by any chance try NuSphere PhpED 5.2 that comes with DBG 3.2.14?
Regarding php-cgi under linux, it's intalled under my CentOS 5.1 with php-cli-5.1.6-15.el5 rpm: ![]() |
||||||||||||
|
_________________ The PHP IDE team |
|||||||||||||
| [resolved] DBG 2.15 not working, at all |
|
||
|
Content © NuSphere Corp., PHP IDE team
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by


RSS2 Feed
