This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
With the work I am currently doing I would like to have the server support PHP also.
It is not exactly clear what do you mean, could you please elaborate it a little bit more.
For running php on tomcat there needs to be a plugin for the tomcat server. Having this plugin installed with the server would be good, following the editor php support from issue 21973.
We are developing NetBeans, not Tomcat. I don't think we can do anything with developing plugin for Tomcat or does it already exist? Why it is not part of standard Tomcat distribution then?
I am sorry I misspoke when I said plugin. With editor support for php it would not do much good unless the tomcat server implementation was not configured with php support also. Please see the following link for information: http://wiki.apache.org/jakarta-tomcat/UsingPhp
Using NetBeans 4.0 1. open a project 2. right click on Source Packages and select new folder 3. type in a folder name, I used "com.jx.web.test", and click ok 4. drag an existing .java file into the newly created folder. You will get a refactoring dialog. Upon pressing next you will get the following error: "A package corresponding to the entered name cannot be found." 5. press cancel and notice that the file is now in the new package, looking at the file you will notice the package statement reflects the old package statement. There is no refactor window on the bottom either. Dragging the file back to the original folder gives this error: "Cannot move class(es) into the same package."
We do not plan to implement this, since the php support doesn't come with the standard Tomcat distribution and it's not even a very common use case. Especially if the php support can be easily added by hand. Another reason for not implementing this is that bundling required libraries would mean licensing issues. Could you please file a new separate issue for the described refactoring problem in the right component? Thanks
Are you guys insane. Look at how many hosts on the internet implement php comapred to how many use java. It may not be as big in large companies but if you want the public to use the product you must cater to the public. Besides if it can be added so easily then why not go ahead and do it and have a better product. The refactoring problem was submitted on this issue by mistake.
also check out issue 21973. If the syntax is going to be supported then shouldn't you also support running them?
OK, then it is dependent on PHP editor suppport issue 21973. Moreover this enhancement implementation is not so easy - look at step 1.2 where OS dependent library is built. We would have to bundle versions of this library for all OSes! I think that there are so many enhancements of Java/JSP support in NetBeans and related Java technologies which we should/could support (JSF, Struts, Cactus, Hybernate, etc.) therefore we won't have time to add PHP support for several years. I'd suggest use PHP IDEs for developing PHP applications and use NetBeans for Java/JSP development. If you still strongly feel that PHP support has higher priority, there is always a chance to propose PHP module and participate on NetBeans develoment - it is strongly welcome.
PHP support was added