- This topic has 7 replies, 3 voices, and was last updated 16 years, 8 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.September 15, 2008 at 3:07 pm #289064
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.
September 15, 2008 at 4:15 pm #289073
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.
September 16, 2008 at 11:37 am #289087
Loyal WaterMemberMyEclipse does not support the Apache Web Server. Sorry about that.
September 16, 2008 at 11:41 am #289088
FebrisMemberOoh. Owww. Ouch. That’s painful. Apache and WAMP rule the web. Any plans on addressing that?
Thanks.
September 16, 2008 at 1:45 pm #289093
Loyal WaterMemberWe don’t have it on the cards at the moment but I’ll note this as a feature request.
November 11, 2008 at 10:54 am #290831I 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.
November 12, 2008 at 1:37 am #290890
Loyal WaterMemberFebris,
Did you try the workaround pointed out by dbennett? -
AuthorPosts