[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.tools.pdt] Re: pdt+zend debugger+xampp
|
Hello Sal,
as you have a local apache server you don't need the all-in-one package with
the executable. Unfortunately I can't help you with the executable.
All I can do is give you a short description of my setup. I used the
instructions from
http://www.thierryb.net/pdtwiki/index.php?title=Using_PDT_:_Installation_:_Installing_the_Zend_Debugger
to set up my debugger.
Instead of the all-in-one I use the JavaEE Eclipse so I have all
requirements for pdt. pdt is installed over the update manager as plugin.
http://download.eclipse.org/tools/pdt/updates/
In the php.ini I added
[Zend]
zend_extension_ts=<pathToPhp>/ext/ZendDebugger.dll
zend_debugger.allow_hosts=127.0.0.1, <myLocalIp>
zend_debugger.expose_remotely=always
and installed the debugger from
http://downloads.zend.com/pdt/server-debugger/
in the ext path of my php.
Now the only thing I need to do is to start the apache. Then I right click
on the script and select debug as php web page. Now check that the path on
the apache is correct and press ok.
For your setup with the server root it is pretty much personal preference
what you do. I integrated the workspace in the apache with an alias.
Alias /workspace "myworkspace"
<Directory "myworkspace">
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
Now I can reach it under localhost/workspace without making the server root
to the workspace.
For the upload it is probably the best to ignore the dot file. But don't
ignore .htaccess and .htuser files.
I hope this helps you,
Tobias
"Sal" <sal@xxxxxxx> schrieb im Newsbeitrag
news:fmp34s$9sa$1@xxxxxxxxxxxxxxxxxxxx
> hello,
> i read all the posts on this newsgroup and also googled around for almost
> a week now. what i found is a lot of different ways to setup pdt and zend
> debugger on xampp but none of which that worked for me :-(
> this is what i have:
>
> Zend all-in-one package
> (pdt-1.0.0.R20070917-debugger-5.2.10.v20070905-all-in-one-win32.zip)
> XamppLite (xampplite-win32-1.6.5.zip)
>
> i installed xampp and set the apache document root to:
> C:\Documents and Settings\Sal\Documents\Apache htdocs
>
> and set the mysql data dir to:
> C:\Documents and Settings\Sal\Documents\MySQL Data
>
> i made these changes so i can have all the data in my document folder for
> easy backups.
> then i installed the zend all-in-one package in
> C:\eclipse
>
> now, the followings are the points that are not so clear to me even if i
> tried many ways to resolve them without results:
>
> 1- if i have all my projects in the webserver root, when i create a new
> project in eclipse, should i then import all the files from the server
> root? or, should i add an include folder linking to the server root? i
> can't use my server root as the eclipse workspace because eclipse adds dot
> files in it and the dir is often uploaded to a remote server.
>
> 2- how can i debug my projects that are in the web server root dir? what's
> the correct and functional way to setup things? possibly using the xampp
> PHP executable so i could have the same results if i just test in
> localhost.
>
> if someone please help me with these 2 important steps, i could write a
> nice and easy tutorial and then post it on my blog for everyone.
>
> P.S.
> one more thing..... i tried the last zend all-in-one package
> (pdt-1.0.2.S20071213-M1_debugger-5.2.12.v20071210-all-in-one-win32.zip)
> but in its configuration panel, the publich checkbox is missing. is zend
> implementing another way to do it or are they only pushing peoples to user
> their server side package?
>
> Thanks.
> Sal.
>
>
>