Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » Installing PDT on Debian Linux
Installing PDT on Debian Linux [message #98550] Sun, 14 June 2009 17:24 Go to next message
Patrick Connolly is currently offline Patrick ConnollyFriend
Messages: 9
Registered: July 2009
Junior Member
Hello everyone...
I'm a C/C++ developer but I'm new to PDT and not heavily experienced
with Eclipse yet; though I've used it considerably for some Java work. I
need some advice for installing PDT on my home Debian Linux box.

I have already installed Eclipse Gannymede and I also have Xdebug
installed. I had tried debugging PHP with VIM and Xdebug and am now
thinking of trying out the Eclipse PDT with Zend debugger install. I have
Apache running on my box.


--------- QUESTIONS: ----------

1. Can I install PDT and Zend debugger without removing anything currently
installed or would I need to remove something currently installed? If so,
which Zend PDT should I install?

2. I do not currently understand how PHP, Apache and the Zend debugger
work with each other (if at all). I have PHP5 running on my machine now.
If I install the Zend Debugger, does it use it's own PHP or does it use
the php binary now installed on my machine? And when I run Zend Debugger
in Eclipse, does it use my currently-installed Apache or does it use some
other method to debug the PHP?

Any RELIABLE answers to these questions are appreciated.
Re: Installing PDT on Debian Linux [message #98566 is a reply to message #98550] Sun, 14 June 2009 20:06 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: dkel50.hotRemoveThismail.com

In case you are not aware, PDT supports Xdebug.

Dave Kelsey

pjc wrote:
> Hello everyone...
> I'm a C/C++ developer but I'm new to PDT and not heavily experienced
> with Eclipse yet; though I've used it considerably for some Java work.
> I need some advice for installing PDT on my home Debian Linux box.
> I have already installed Eclipse Gannymede and I also have Xdebug
> installed. I had tried debugging PHP with VIM and Xdebug and am now
> thinking of trying out the Eclipse PDT with Zend debugger install. I
> have Apache running on my box.
>
>
> --------- QUESTIONS: ----------
>
> 1. Can I install PDT and Zend debugger without removing anything
> currently installed or would I need to remove something currently
> installed? If so, which Zend PDT should I install?
>
> 2. I do not currently understand how PHP, Apache and the Zend debugger
> work with each other (if at all). I have PHP5 running on my machine
> now. If I install the Zend Debugger, does it use it's own PHP or does
> it use the php binary now installed on my machine? And when I run Zend
> Debugger in Eclipse, does it use my currently-installed Apache or does
> it use some other method to debug the PHP?
>
> Any RELIABLE answers to these questions are appreciated.
>
>
>
>
Re: Installing PDT on Debian Linux [message #98577 is a reply to message #98566] Sun, 14 June 2009 20:36 Go to previous messageGo to next message
Patrick Connolly is currently offline Patrick ConnollyFriend
Messages: 9
Registered: July 2009
Junior Member
Hello Dave,
Yes I was aware of this but I had the impression that going the Zend
way might be easier and perhaps better.

However if others are using Xdebug (on Linux) with Eclipse and are
very happy with it, I'd be interested to hear about it.

To install my Xdebug I did: "apt-get install php5 Xdebug" then modified
my /etc/php5/conf.d/xdebug.ini as follows:

xdebug.remote_enable = 1
xdebug.remote_port = 9000
xdebug.remote_host = localhost


The "Eclipse PDT All-in-one" looks good also. Is it practical to
install this "All-in-one" on my current system (without removing my
current LAMP setup)?
Re: Installing PDT on Debian Linux [message #98591 is a reply to message #98577] Mon, 15 June 2009 07:09 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: dkel50.hotRemoveThismail.com

It won't affect your LAMP setup. As you are on linux you should ensure you are using at least Java 5
on your system and use that to launch PDT. Your system might be configured with an older version of
java or even the GCJ version and these won't work with PDT.

Dave Kelsey

pjc wrote:
> Hello Dave,
> Yes I was aware of this but I had the impression that going the Zend
> way might be easier and perhaps better.
> However if others are using Xdebug (on Linux) with Eclipse and are
> very happy with it, I'd be interested to hear about it.
> To install my Xdebug I did: "apt-get install php5 Xdebug" then
> modified my /etc/php5/conf.d/xdebug.ini as follows:
>
> xdebug.remote_enable = 1
> xdebug.remote_port = 9000
> xdebug.remote_host = localhost
>
>
> The "Eclipse PDT All-in-one" looks good also. Is it practical to
> install this "All-in-one" on my current system (without removing my
> current LAMP setup)?
>
>
>
Re: Installing PDT on Debian Linux [message #98606 is a reply to message #98591] Mon, 15 June 2009 14:56 Go to previous messageGo to next message
Patrick Connolly is currently offline Patrick ConnollyFriend
Messages: 9
Registered: July 2009
Junior Member
What won't affect my LAMP installation? My posts discuss three possible
options.

I started doing the install of ZEND Server Community Edition using
"aptitude install zend ce" and the installation process presented me with
an option to uninstall my Apache and PHP. I'm not sufficiently up to speed
on the "aptitude" tool to be certain but I believe that this may actually
be optional so that I could reject removal of Apache/PHP and still end up
with a valid installation of Zend Server CE. But I'd rather be sure
before proceeding so I don't have to learn by experimentation.
Re: Installing PDT on Debian Linux [message #98621 is a reply to message #98606] Mon, 15 June 2009 16:29 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: dkel50.hotRemoveThismail.com

As this is the PDT forum, I assumed your were referring to when you install PDT from eclipse. Sorry
I know nothing about ZEND Server.

Dave Kelsey

pjc wrote:
> What won't affect my LAMP installation? My posts discuss three possible
> options.
> I started doing the install of ZEND Server Community Edition using
> "aptitude install zend ce" and the installation process presented me
> with an option to uninstall my Apache and PHP. I'm not sufficiently up
> to speed on the "aptitude" tool to be certain but I believe that this
> may actually be optional so that I could reject removal of Apache/PHP
> and still end up with a valid installation of Zend Server CE. But I'd
> rather be sure before proceeding so I don't have to learn by
> experimentation.
Re: Installing PDT on Debian Linux [message #510582 is a reply to message #98550] Wed, 27 January 2010 21:46 Go to previous messageGo to next message
GT Missing name is currently offline GT Missing nameFriend
Messages: 7
Registered: December 2009
Junior Member
Hi,
How did you install PDT on Debian? We are using Debian 4.0 i386 Linux server. I would love to install eclipse and start using Zend debugger. Please reply on how a LOT of you are already doing this?

Thanks
GT
Re: Installing PDT on Debian Linux [message #516169 is a reply to message #510582] Mon, 22 February 2010 23:26 Go to previous message
Matt  is currently offline Matt Friend
Messages: 3
Registered: February 2010
Junior Member
There's a downloadable archive here that will work fine on debian:
http://www.eclipse.org/pdt/downloads/
Previous Topic:PHP Perspective not available
Next Topic:Re: eclipse for php developers
Goto Forum:
  


Current Time: Fri Apr 19 19:54:28 GMT 2024

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

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

Back to the top