View Full Version : Need help with PhpEclipse and Xampp
05-29-2009, 10:02 PM
First, forgive the ADD-ness.
I am trying to do a project as in intern to set up a shopping cart for Jimmy John's to order receipt rolls. Never mind that issue right now... I can't remember much from my PHP class about how to get a local testing server set up. Before I used Dreamweaver in CS3 with XAMPP but this company is too cheap to buy development tools so I'm using the next best thing (probably the better thing). I have XAMPP running Apache and i am using Eclipse to write my php files. When I try to execute and Debug, I get a 404 Object not found. Can someone tell me how to configure things so I can see my output in the browser?
05-30-2009, 08:23 PM
Same setup with mine, except I don't use XAMPP and went straight for the mysql/apache/php installs. I haven't used DW in over a year, but personally (I'm a mainly backend person, so keep that in mind) I prefer the eclipse over it - free is a bonus :D
Is the error you're receiving as a console result, or is it a popup? The only problems I've had in the past is with the popups, and I also found that the run (not the debug) has issues with using intercepting filters (a pattern I built, it doesn't like to run through it so I have to debug or do it though cli / browser). As for the popup dialog it gives, I've received this when I didn't properly configure the plugin for eclipse.
The best suggestion I can make for trying right now would be to upgrade the zend plugin. Help > Software Updates > Manage Configuration > In the tree select the Zend debugger > Scan for updates. I believe the newest is 5.2.15, though I'm using the 5.2.12 - I had configuration issues with 5.2.15, so I'm waiting for a PHP5.3 compatible plugin (so I can run namespaces without the editor complaining).
Also note that if you need to make use of external resources (such as mysql/mysqli or other database extensions), you'll need to alter the ini file in the plugin folder or change the path for the ini to a current one using Window > Preferences > PHP > PHP Executables, or by reconfiguring the cli with the necessary extension loading. The default one is bold, but I've found that it won't let me edit the default ones, but you can create you're own. I have mine setup with the executable path to the plugin's php-cgi.exe, and the ini set to my server's php.ini fle.
I believe that this environment is actually independent of you're apache environment. I have run through the eclipse with apache off, and it seemed to work just fine.
Hope that helps!
09-27-2009, 10:57 PM
This is my first attempt at using php eclipse.
when I try to create a php file, I get an error "this file system does not support deletion"
I am using windows vista.
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.