views:

159

answers:

2

I'd like to debug PHP apps, but I want to setup Apache web server (httpd.exe).

I right clicked SERVERS, Add Server..., then noticed there is no option for httpd.exe, just for Glashfiish, JBoss, Apache Tomcat, and some other servers.

So, how can I add Apache Web Server (right from within the IDE just like other servers), and then properly debug PHP apps?

+1  A: 

Check it here

a1ex07
that instruction helps debugging, but does not solve the situation of registering Apache Web Server to the list of Servers...anyway, thanks because i may be able to debug PHP
dde
+1  A: 

NetBeans does not have a plugin to integrate the IDE with the Apache HTTP server directly.

The servers that are listed in the 'Add Server' dialog are all Java EE servers. Since Apache is not a Java EE server, it is appropriate that it does not appear in that list.

That said, there are a number of articles about the ins and outs of doing PHP development with NetBeans and Apache.

It looks like you do not need to 'register' the httpd in NetBeans. The PHP development plugins are supposed to take care of doing the right thing for you.

vkraemer