![]() (Note that the old location for this was, which is still referred to on many places on the web. There are instructions there on how to install this as well, which should be the same as described here. Go to, register, and get the "Studio Web Debugger" for your platform and architecture. Step one involves downloading the server debugger from the Zend site, which requires registration and login.Now that you can run simple scripts, we can move onto setting up Eclipse for use with a webserver. If you are using Zend this will be at c:/Zend/ZendServer/bin. Click 'Add' and add the path of where your PHP is.If you get an error that complains that it can't find the PHP executable then you need to define its path inside Eclipse as follows: If all is okay, we can move onto the next stage. Make sure everything is running by importing a simple PHP script and selecting run as script. The easiest solution is to install an Eclipse version that matches your Java version. if you encounter an error related to Java machine then you may be trying a 64-bit Eclipse version with a 32-bit Java version or the reverse. Increase XXMaxPermSize to at least 1024M. ![]() To correct for this edit the eclipse.ini file and change the following entries: If you are installing a Windows 圆4 version then you may run into run-time problems related to insufficient memory and/or insufficient stack size. Now load up eclipse.exe or eclipse.app, whichever is appropriate for your platform. The main program file is called eclipse.exe on Windows machines, and eclipse.app on Macintosh machines. You will have to create your own shortcuts, start-menu items etc., since there is no actual installer. Simply download the appropriate package, unzip the file, and place the eclipse folder somewhere convenient on your drive. It's called the 'All in one package':īasic installation is easy. You can download the Zend bundle at the link below (it's about 100MB). In practice this may not run so smoothly! The easiest solution is to get the all in one package. In theory it should be possible to install Eclipse and then get the plugins working. There are other options for plugins Zend is just one of them. ![]() The Zend plugin will turn the generic Eclipse IDE into a PHP IDE. ![]() Go set it up and get it working with Drupal before you continue with this tutorial. If you've not yet set up a test server you can find more information here. Without the local test server you will only be able to debug single file PHP scripts for Drupal this is practically useless. To do so you will need to set up a local test server first. ScreencastĬonfiguring the Eclipse IDE for Drupal Module Development and Debugging Prerequisitesĭebugging is probably the most useful feature of an IDE, so this tutorial will assume you want to set that up. Getting debugging working is well worth the effort. Hopefully this tutorial will help you setup smoothly. This section will provide instructions for installing and setting it up for use with Drupal.Įclipse is a Java application so it can run on Linux, Mac and Windows, but comes with the price of a large memory footprint. the most useful of which is probably PHP debugging. Eclipse is an open source IDE (Integrated Development Environment), that provides many tools for coding in one application. ![]()
0 Comments
Leave a Reply. |