Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » Help to the basic setup of PDT(I ask for tips to basic setup to PDT on Ubuntu 16.04 with LAMP)
icon5.gif  Help to the basic setup of PDT [message #1760714] Tue, 02 May 2017 10:31 Go to next message
Ebbe Soenderhousen is currently offline Ebbe SoenderhousenFriend
Messages: 2
Registered: May 2017
Junior Member
A year ago I started to learn PHP.
The result is a functioning website.
So far I have used Brackets with its debugger plug-in as development tool.
Along the way, I become aware of the existence of Eclipse, which offers many more options than the tools I use today.
I develop on a virtual machine with Ubuntu 16.04 LAMP and I have come so far that I have installed Eclipse and created a project with a small PHP test page.
Here I am stuck.
I have repeatedly tried to follow the proposals for setup, I've been able to find in this forum and elsewhere.
However, I have not yet managed to get the page shown via Eclipse or get the debugger to work.
I have no trouble debugging in Brackets.
Are there a soul with the Heart on the right place that can help me with the first steps into Eclipse's adventurous world?
Apparently there is something basic in my setup that is not correct.

Thanks in advance!
Ebbe

[Updated on: Tue, 09 May 2017 08:56]

Report message to a moderator

Re: Help to the basic setup of PDT [message #1763378 is a reply to message #1760714] Sun, 14 May 2017 19:19 Go to previous messageGo to next message
Ebbe Soenderhousen is currently offline Ebbe SoenderhousenFriend
Messages: 2
Registered: May 2017
Junior Member
I found that I haven't specified anything under [Window] / [Preferences]

Under [PHP Executables] I added:
exe.path: /usr/bin/php
PHP ini: /etc/php/7.0/apache2/php.ini
Next: Debugger: XDebug

Under [Servers] I added:
Name: localhost
URL: http://localhost
Workspace: /home/xxx/workspace
Next: Debugger: XDebug

AND NOW I COULD CONFIGUR AND START THE DEBUGGER Very Happy
Re: Help to the basic setup of PDT [message #1763569 is a reply to message #1760714] Wed, 17 May 2017 13:45 Go to previous message
Harry Krak is currently offline Harry KrakFriend
Messages: 17
Registered: March 2016
Junior Member
I added the following lines to the end of my php.ini

--
XDebug
xdebug.remote_enable = 1
xdebug.remote_host=localhost
xdebug.remote_port=9000
xdebug.remote_handler="dbgp"

;DO NOT FORGET TO COPY THIS FILE OVER!!!
zend_extension = C:\utils\php\ext\php_xdebug-2.5.0-7.1-vc14.dll
--


As I say in the comment, you will need a copy of php_xdebug available here
https://xdebug.org/download.php
Previous Topic:Code Style - Format multi line function calls with closing paranthesis on a new line
Next Topic:Eclipse (Neon.3 / Windows 10) delete whitespace after a variable on paste
Goto Forum:
  


Current Time: Fri Apr 26 08:39:07 GMT 2024

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

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

Back to the top