Ok, I have reinstalled xdebug, and gave up on Zend.
I am using gentoo 64. Now, with xdebug things seems to be better as I
can debug a script but not a web page. Here's my configuration. Apache
supports user directory, so I have access to /home/mansour/public_html.
In fact I created a workspace for eclipse in /home/mansour/public_html.
So basically, this is my document root. I have created a test project,
called Project. And for the PDT:
xdebug is the default debugger at port 9000, Under the executable
section, I have only one executable:
path: /usr/lib64/php5/bin/php
debugger: xdebug
URL pointing to doc root for this server: http://localhost/~mansour
Path mapping:
/home/mansour/public_html --> /
/home/mansour/public_html/Project --> /Project (in WorkSpace)
When I click "debug as web page" on the index.php which is in the root
directory of the project, It shows
"http://localhost/~mansour/Project/index.php" which is the correct URL.
However, launching sits there showing that it's at 19% for ever, and
waiting for xDebug session.
Further more I can not find any logs or messages, which makes the issue
little bit frustrating.
I will appreciate any help to get this resolved.
Mansour wrote:
Michael Spector wrote:
"Mansour" <mansour@xxxxxxx> wrote in message
news:gg46pj$444$1@xxxxxxxxxxxxxxxxxxxx
<skipped>
PHP > PHP servers:
url that points to the document root of this server:
http://localhost/~mansour
Path mapping- on the server: /
This must be a full path on the server, not an URL path. Where is
your document root located?
If it's /var/www, for example, the path should be /var/www/your_project.
What do u mean ? I have my project in /home/mansour/public_html as I
don't have write access to /var/www/. Do I need to modify this access ?
Further more, I found that the command php -m is not showing Zend
debugger installed. I have posted already to the zend forum and waiting
for response. I will see how things will go, and then will move from
there, as this has to be fixed before I continue to set it up with
eclipse.