I have Eclipse running on Windows 7, and am trying to work out how to get PHP support in my projects. Highlighting and intellisense seems to be working quite alright, but when I right-click my project and go to "Configure", the option "Add PHP Support" is grayed out.
Would anyone know how I could get that to be enabled, please?
Thanks in advance!
Are you sure that's what you want to do? I just tested in my Eclipse install, and everything that is already a PHP project has that option greyed out. The only project I can choose that option on is a Java project.
If you create a project by File -> New -> PHP Project then you don't need to do anything else to enable PHP support.
Related
Hi i am using php eclipse neon 3 and tfs as source controller .
My problem is I cannot view the file difference in source control explorer change set. When I click on details getting this error
Please help
I tested at my side, everything works as expected.
Eclipse for PHP Developers
Version: Neon.3 Release (4.6.3)
Build id: 20170314-1500
Please check if you have the hsqldb.jar under
C:\eclipse\plugins\com.microsoft.tfs.core_14.123.1.201709051449\libs\hsqldb-1.8.0.10-ebcdic
If not just try to download from here and copy it there.
If that still not work, just try to uninstall then re-install the Eclipse and the TFS Plugin.
I was searching by google for a good tutorial on how to setup PHPEClipse with a new running wampserver for DEBUGGING!
I often tried to configure Debugging within PHP but never got it to work.
I.e.
1.) Do I have to create a new PHPEclipse project "PHP Project"?
2.) In which location do i have to create a new PHP Project?
2.1.) Has the location to be in the www-folder (C:\wamp\www) ?
3.) How do i set up the Debugger when pressing the debug-insect-button (ant) in Eclipse?
3.1.) Do i have to choose the WAMPServer somehow here? Which settings do i have to make in the dialog?
3.2.) Do i have to use xdebug or zend?
3.3.) Is there a way to select PHPDBG?
Cheers and nice weekend!
I missed a documentation for wampserver and PHP Eclipse like this:
http://www.capri-soft.de/blog/?p=1719
After i found out how to configure, i wrote this documentation. I do not know maybe it was my way of thinking about.
Thank you!
I'm a long time hobbyist using M/S Visual Studio but am trying to get away from ASP .Net. I have installed Aptana Studio 3 and get everything working on an HTML5 web page except PHP. The test website consists of a single index.html, a single javascript to access the PHP and a single PHP page to respond to the javascript.
I uploaded the 3 files to my domain's server and it worked correctly. Using Aptana 3, I put the 3 files in a new PHP project but I get "No PHP executables defined" when I try to preview the project. I searched the web but get no help.
Some info seems to say PHP interpreter should already be installed with Aptana, others say you have to do it separately. Still, others say I have to install WAMP. I was unable to decipher the Aptana website documentation to resolve the problem.
Any help on how to set up / configure Aptana Studio 3 to properly preview an Html5 website with PHP would be appreciated.
Regardless of whether Aptanta Studio comes with PHP or not, download and install the latest version of PHP just to be on the safe side: http://php.net/downloads.php
Then in Aptana Studio, go to Preferences -> Aptanta Studio -> Editors -> PHP -> PHP Interpreters and specify your PHP installation details.
Then try it again and see if that helps.
On Ubuntu, I have install netbeans but it does not have any option to start a php project. I've looked at the plugin list and php is not in the list, neither is it in the plugins to download list.
I've gone to the netbeans website and I am not sure which php plugin to download.
Can someone please help me with this?
Ubuntu 12.04 64bit has netbeans 7.0.1 in the software repository.
Go to Tools->Plugins.
In the Settings tab ensure that the update center Netbeans Distribution is active.
Then in the Available Plugins tab click on Reload Catalog and you should see PHP.
Also you have to make your LAMP config, this link can help you.
If you have already download the full bundle go in Installed tab and activate PHP.
Please try select the php option from this page and install
http://netbeans.org/downloads/index.html
Click on menu File > New Project
then select PHP from the Categories list, on click you will see PHP being initialized automatically...
For a detailed answer visit
http://digitdrive.blogspot.in/2013/11/developing-php-project-on-netbeans-ide.html
Goto Tools > Plugins > Available Plugins
search for PHP Enhancements .
But first of all you should download netBeans version that support PHP.
there is 2 available distributions, one for PHP and Javescript, the other one is the fully fledged version that support for many programing languages , PHP is included of course.
any of those to distributions should work will on PHP.
I have a project that's intended to use some PHP as well as Java and Javascript, so I installed the PDT PHP plug-in for Eclipse, using the Install New Software menu option. Now Eclipse agrees PDT is installed, but no PHP features like creating or editing PHP files are appearing anywhere. Is there something else I need to do to activate PDT? (I did restart Eclipse like it said I needed to.)
Right click on your project, Configure (it's at the bottom of the list)->Add PHP Support...
After it's done, you should see a little P symbol in the project's icon.
Just create new project using the wizard, and choose PHP one. After Eclipse will know that your project is actually based on PHP, it will show you all the features.
In case if you have existing project, just open the PHP perspective.
I've once had a similar problem. Eclipse was running with the JRE 1.4, and it seems the JRE 1.5 or later is required to run the PDT. I switched to Java 1.6 and that solved the problem.
I run into this sometimes with eclipse plugins.
Have you tried uninstalling it, removing the jar and files it from eclipse/plugins and eclipse/features, then installing it again?
If you don't feel like doing that. Try installing it in a clean eclipse instance and if it works then it's just a config issue with eclipse.
You might have not installed all of the tools too.
The solution I eventually came up with was to just install Aptana Studio, a PHP IDE based on Eclipse, whose standalone version can coexist happily with the regular Eclipse on the same machine.
In order to have PHP support in eclipse project, you need to add PHPNature to the project. It's a kind of configuration paramter of eclipse project. When you craete a new PHP project using a wizard, check the .project file in a new project directory. There is a PHPNature line. Copy this line into .project of your java project.
Another solution is to separate java and php code in a different projects, each one craeted by right wizard.