- This topic has 7 replies, 3 voices, and was last updated 16 years, 7 months ago by
Loyal Water.
-
AuthorPosts
-
FebrisMemberMaybe I’m missing some simple? I’m wanting to do standard WAMP development (Windows, Apache, MySql, PHP)
But when I go to add the Apache server to the deployable servers list, it’s not an option. I was hoping this would be a “Standard project” in MyEclipse.
Given that your web site is PHP, I’m surprised how unintuitive it is to do PHP development (actually running the PHP code, not just syntax) inside a standard version of myEclipse.
Am I missing some simple menu choice somewhere?
Thanks.
Loyal WaterMemberBut when I go to add the Apache server to the deployable servers list, it’s not an option. I was hoping this would be a “Standard project” in MyEclipse.
Are you referring to the Apache Web Server ?
You can use PDT with MyEclipse for php development.
FebrisMemberYes, I’m talking about Apache Web Server. It’s not included in the list of servers I can add.
PDT only gets me syntax highlighting for PHP. I want to run my PHP code on an Apache webserver (WAMP), just like you can deploy JSP’s to Tomcat. For JSP’s you set up the server, thereafter just click “deploy”. I want to do that with a WAMP server.
Thanks.
Loyal WaterMemberMyEclipse does not support the Apache Web Server. Sorry about that.
FebrisMemberOoh. Owww. Ouch. That’s painful. Apache and WAMP rule the web. Any plans on addressing that?
Thanks.
Loyal WaterMemberWe don’t have it on the cards at the moment but I’ll note this as a feature request.
I do this with PDT by creating a VirtualHost entry in my XAMPP server that points to the webroot of the PHP project. In your windows hosts file (c:\windows\system32\drivers\etc\hosts) create an additional entry for 127.0.0.1 (I use {project}.draft.local, cookies are disabled on some browsers if the host name doesn’t have have two dots when not com/net/org/edu/etc…). Turn on NameVirtualHost *:80 in your apache configuration, then create a VirtualHost entry like <VirutalHost *:80> with a ServerName entry using the name you specified in the hosts file. This also supports XDEBUG under PDT for source level debugging. Remember to disable the Zend optimizer in your php.ini and install xdebug as a Zend extension for this to work. You can get the latest xdebug dll from xdebug.org.
Loyal WaterMemberFebris,
Did you try the workaround pointed out by dbennett? -
AuthorPosts