Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » pdt+zend debugger+xampp
pdt+zend debugger+xampp [message #64648] Fri, 18 January 2008 02:31 Go to next message
Eclipse UserFriend
Originally posted by: sal.sal.com

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-wi n32.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.
Re: pdt+zend debugger+xampp [message #64671 is a reply to message #64648] Fri, 18 January 2008 19:20 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: alessandro.cinelli.gmail.com

> 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.
Don't move the dot files to a remote server.
If you want to work directly on the sites, the workspace as to be the
server document root.


cirpo
Re: pdt+zend debugger+xampp [message #64692 is a reply to message #64671] Fri, 18 January 2008 21:01 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: sal.sal.com

and thats the only think to do?
no php.ini setiings?
no httpd.conf settings?
no eclipse php settings?

but if i set the workspace to be in the web server root, that means that it
will also contain java and flex projects!
i don't want all the mess on the server
just want html and php stuff there


"cirpo" <alessandro.cinelli@gmail.com> ha scritto nel messaggio
news:fmqu6k$aoe$1@build.eclipse.org...
>
>> 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.
> Don't move the dot files to a remote server.
> If you want to work directly on the sites, the workspace as to be the
> server document root.
>
>
> cirpo
Re: pdt+zend debugger+xampp [message #64738 is a reply to message #64648] Sat, 19 January 2008 17:41 Go to previous messageGo to next message
Tobias F is currently offline Tobias FFriend
Messages: 35
Registered: July 2009
Member
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@sal.com> schrieb im Newsbeitrag
news:fmp34s$9sa$1@build.eclipse.org...
> 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-wi n32.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.
>
>
>
Re: pdt+zend debugger+xampp [message #64761 is a reply to message #64738] Sun, 20 January 2008 00:31 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: sal.sal.com

tobia, i git stuck on the first step. can't get pdt updates installed.
aftesr selecteing them from the update list, i only get the cancel button
enabled.
aint there a step by step tutorial?
http://www.thierryb.net/pdtwiki/index.php?title=Using_PDT_:_ Installation_:_Installing_the_Zend_Debugger
that up one doesn't work for me because. i know im doing something wrong.
but that guide talks about the installation of the zend server part. and i'm
using xamp for that.
can't we just get in contact by e-mail or maybe by messenger? i got a better
idea, what about meeting on irc freenode server on channel #eclipse? my nick
is Sal. thanks.



"Tobias" <eclipse@beople.de> ha scritto nel messaggio
news:fmtcod$h2p$1@build.eclipse.org...
> 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@sal.com> schrieb im Newsbeitrag
> news:fmp34s$9sa$1@build.eclipse.org...
>> 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-wi n32.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.
>>
>>
>>
>
>
Step-by-Step Tutorial for Eclipse PDT - Zend Debugger - Wamp 1.7.4 [message #65991 is a reply to message #64648] Wed, 13 February 2008 13:40 Go to previous messageGo to next message
Mike Lubbers is currently offline Mike LubbersFriend
Messages: 4
Registered: July 2009
Junior Member
Hello,

I've also been struggling with getting the Zend Debugger to work inside
eclipse PDT but finally it works! I made a tutorial of 7 page's describing
the installation/use of the Zend Debugger on a local Wamp 1.7.4 PHP server.

You can download the tutorial together with a eclipse PHP project
'debugtester' from http://www.kinetiek.com/files/download/debugtester.zip.

good luck and best regards, Mike
Re: Step-by-Step Tutorial for Eclipse PDT - Zend Debugger - Wamp 1.7.4 [message #66913 is a reply to message #65991] Sat, 01 March 2008 03:25 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: joehonton.crescentbloom.com

The tutorial worked for my setup only after I turned off Zend Optimizer by
commenting out the following lines in my php.ini file:

;zend_extension_ts =
"C:\xampp\php\zendOptimizer\lib\ZendExtensionManager.dll"
;zend_extension_manager.optimizer_ts =
"C:\xampp\php\zendOptimizer\lib\Optimizer"
;zend_optimizer.enable_loader = 0
;zend_optimizer.optimization_level=15


XAMPP 1.6.5
PHP 5.2.5
Apache 2.2.6
Windows Vista Home Premium 32-bit
ZendDebugger 5.2.12
Re: Step-by-Step Tutorial for Eclipse PDT - Zend Debugger - Wamp 1.7.4 [message #66922 is a reply to message #65991] Sat, 01 March 2008 20:26 Go to previous message
Roy Ganor is currently offline Roy GanorFriend
Messages: 149
Registered: July 2009
Senior Member
Hi Mike,
Nice tutorial, I think it can be helpful for many people using PDT and
Zend debugger. It will be great if you propose this document to the
eclipse corner, here is the link:
https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Communit y&component=Articles

if you need any help, please tell me.

Regards,
Roy
Previous Topic:More than one client host for xdebugger and problem with zend debugger
Next Topic:PDT and PHPDoc
Goto Forum:
  


Current Time: Thu Dec 26 23:10:45 GMT 2024

Powered by FUDForum. Page generated in 0.03756 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top