|
Posted by 4sak3n 0ne on 01/07/08 00:34
On Jan 5, 6:52 am, "R.A.M." <r_ahims...@poczta.onet.pl> wrote:
> Hello,
> I have started learning PHP5. I would like to programme in Windows XP and
> Fedora Linux. I have found two IDEs for PHP (if I understood correctly):
> - Eclipse PDT,
> - EasyEclipse for PHP.
> What is the difference? Which one to choose? I would like to debug my
> applications.
> Please help. Thanks in advance.
> /RAM/
I use Fedora myself. If you are going to use Eclipse, which IMO is an
excellent IDE, I would recommend installing via the package manager.
Search for eclipse-phpeclipse. This is neither Eclipse PDT or
EasyEclipse for PHP, but it has similar features. The Fedora package
manager will install apache and all of the goodies. When you try to
start apache, you will probably running into an error that it can't
load the php4 extension. This is because PHP5 is installed. A simple
fix for that is to edit '/usr/share/eclipse/plugins/
net.sourceforge.phpeclipse.externaltools_<yourversionhere>/confs/
httpd.conf' with 'LoadModule php5_module modules/libphp5.so' instead
of php4. This needs to be done via sudo or as root due to
permissions. Once thats done, you will be able start apache and do
local development. Mysql will not be installed, but this is the wrong
group for that.
On Windows, I have a similar setup. Eclipse with the PHPEclipse
plugin. This will take some tweaking because, unlike Fedora, nothing
is preconfigured. I used XAMPP as my apache/mysql setup for this.
For more in-depth information about phpeclipse, see http://www.phpeclipse.net/.
Hope that helps.
Navigation:
[Reply to this message]
|