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.

Bug 53422 - PHP support
Summary: PHP support
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Tomcat (show other bugs)
Version: 4.x
Hardware: PC Windows XP
: P3 blocker with 1 vote (vote)
Assignee: issues@serverplugins
URL:
Keywords:
Depends on: 21973
Blocks:
  Show dependency tree
 
Reported: 2005-01-14 18:09 UTC by ddevore
Modified: 2009-01-28 13:05 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ddevore 2005-01-14 18:09:54 UTC
With the work I am currently doing I would like to
have the server support PHP also.
Comment 1 Sherold Dev 2005-01-17 09:27:07 UTC
It is not exactly clear what do you mean, could you please elaborate
it a little bit more.
Comment 2 ddevore 2005-01-17 20:00:08 UTC
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.
Comment 3 zikmund 2005-01-18 07:59:09 UTC
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?
Comment 4 ddevore 2005-01-18 17:08:08 UTC
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
Comment 5 ddevore 2005-01-18 17:14:19 UTC
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."

Comment 6 Sherold Dev 2005-01-26 08:52:46 UTC
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 
Comment 7 ddevore 2005-01-26 13:42:55 UTC
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.
Comment 8 ddevore 2005-01-26 13:54:30 UTC
also check out issue 21973. If the syntax is going to be supported
then shouldn't you also support running them? 
Comment 9 zikmund 2005-01-26 14:31:15 UTC
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.
Comment 10 ddevore 2009-01-28 13:05:01 UTC
PHP support was added