no answer from DBG under Linux |
|
Hi.
I've installed DBG under Linux following the faq. After restarted Apache, the result of phpinfo() is the following:
but if, from the consolle of the same machine, I launch:
no results appears, and if I launch:
the answer is:
What could be the problem? Thank you Nico |
||||||||||||||||||||
|
|
Is that the machine you're running Apache on, PhpEd, or are you running Apache & PhpEd on the same linux machine?
|
||||||||||||
|
|
PhpEd is running on a windows machine.
I've installed DBG on a Linux server to evaluate the "HTTP mode (3rd party WEB server)". |
||||||||||||
|
|
The DBG on the windows machine gives no problems: it works well.
The fact is that on my Linux machine I've also some special PHP modules (as pdflib) so I'd like to debug script there. |
||||||||||||
|
|
Sorry, I don't understand your problem.
The debugging system consists of two parts: A "server side" (PHP extension module installed on the webserver machine) and a "client part" (the DBG listener running on your local (WinXP?) box). The former can be checked by looking at phpinfo() output, the latter by running netstat on your local machine or looking at the systray.) You will always need both of them; when you have serveral different remote machines, all of them need the DBG extension. However, you will always use the same single installation of the DBG listener on your local machine. Now it might happen that the "remote webserver machine" is actually the same as your "local machine" (the one running PhpEd). This is the case when running a local instance of Apache or using the SRV webserver which is part of PhpEd. But - all that makes no difference. Both parts of the debugging system are still there and communicating as if they were on different machines. Please explain what exactly your problem is. By now, you have just described what you can find (which seems to be ok so far) but not what your problem actually is. Have you tried to upload the script to the remote server and debug it? |
||||||||||||
|
|
Ok.
If I debug a script on my local machine (windows) with run mode = HTTP mode (SRV local WEB server) all works properly. But if I set run mode = HTTP mode (3rd party WEB server) and I try to debug a script that is on my server (linux) the result is the following message:
my.server.com is the address of my linux server where Apache/Php5 is running. So I've installed the DBG module on that server thinking that this should solve the problem. DBG seems to be well installed but the error message always appears. |
||||||||||||||
|
|
Ok, now maybe someone else (Dmitri ?) should have a look at this.
What about DBG and PHP5? Is it correct that you're running DBG 2.11.30 on the remote machine (the above phpinfo() output suggests that)? |
||||||||||||
|
|
Just to complete my description:
The project I'm working on has the following properties: Root directory: a local path Source control: none Account: an ftp account to my Linux server Run mode: System default Root URL: http://my.server.com/ Remote root directory: / |
||||||||||||
Last edited by nicot on Thu Dec 02, 2004 11:46 am; edited 1 time in total |
|
I would almost bet that "Remote root directory: /" must be wrong.
|
||||||||||||
|
|
I made a mistake: the Php version is 4.3.8.
Tha Php 5 is on another server, where I've tested DBG with the same results. |
||||||||||||
|
|
Did you read this topic?
http://forum.nusphere.com/tip-troubleshooting-debugger-communications-t579.html |
||||||||||||
|
no answer from DBG under Linux |
|
||
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