NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Help setting up Debugging with PhpED and Apache


Joined: 03 Jan 2008
Posts: 4
Reply with quote
Hello everyone,

I have PhpED 5.2 and WAMPServer with Apache 2.2.6 and php 5 installed LOCALLY and I'm trying to make my project debuggable.

I followed the instructions from dbg-wizard.php but I still get the error message that says that the Remote Root Dir and Root URL are incorrect.

Here's a copy of my current state dbg-wizard.php output:

Code:


 What did I find out about your system

I assume that you placed me in the directory of your main php script and on your PhpED machine pointed your browser to me - like this: <URL of your web site>/dbg-wizard.php

I see that:

    * PHP Version: 5.2.5
    * Web Server: Apache/2.2.6 (Win32) PHP/5.2.5
    * Server Name: [My ath.cx remote host - report correctly]
    * OS: WINNT
    * Your Client IP Address: [My IP - reported correctly]
    * Your Server IP Address: [Same as my Client IP as both Apache and PhpED are installed locally]
    * Port: 80
    * Your Web Server is on the same machine with PhpED
    * Path to website files: C:\wamp\www\
    * Document Root is: C:\wamp\www\\
    * Your PHP.INI file is C:\wamp\bin\apache\apache2.2.6\bin\php.ini
    * PHP extensions directory is c:\wamp\bin\php\php5.2.5\ext\
    * DBG (PHP DEBUGGER) Version 3.2.10 is INSTALLED

How to setup your PhpED Project Properties

I can suggest the following settings for your Project to debug PHP scripts on Server georgiosd.ath.cx :
You can create new Project by selecting File->New Project or by selecting New Project in the Workspace Pop up Menu
In the Project Properties Dialog set:

    * Project -> Root Directory: C:\wamp\www\
    * Mapping -> Run Mode: HTTP Mode (3-rd party WEB server)
    * Mapping -> Remote URL: http://[My hostname]/
    * Mapping -> Remote Root Directory: C:\wamp\www\ , same as Project -> Root Directory.


These are the exact values I have placed in the project settings - by copy and paste!!

How do I go about finding what's wrong?

Thank you
View user's profileFind all posts by ewpublicSend private message
Veteran

Joined: 06 Jun 2007
Posts: 289
Location: Vancouver, Canada
Reply with quote
I am not sure what it causing the problem, and can make a some guesses only:
Code:
* Document Root is: C:\wamp\www\\
Note the two trailing slashes. I don't know if that will cause a problem, but I would feel better with a single slash.

Code:
* Mapping -> Remote URL: http://[My hostname]/
You did enter your real hostname such as http://localhost, didn't you?

_________________
Smile
View user's profileFind all posts by annoSend private messageVisit poster's website
Site Admin

Joined: 13 Jul 2003
Posts: 8342
Reply with quote
Quote:
that says that the Remote Root Dir and Root URL are incorrect

what is the error message?

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 03 Jan 2008
Posts: 4
Reply with quote
Thanks for your help guys.... it "magically" solved itself, with the exact same settings I posted above. Maybe a restart was required in one of the apps. Or maybe I removed that slash by mistake. Who knows...

It's all good anyway.
View user's profileFind all posts by ewpublicSend private message
Help setting up Debugging with PhpED and Apache
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic