New PHPEclipse Project
This guide will cover creating a new project using PHPEclipse. You should already have Eclipse installed and running, as well as have the PHPEclipse feature installed. If you have not installed PHPEclipse you can view the Installation guide.
Activate PHPEclipse Perspective
First thing that we will want to do is activate the PHPEclipse perspective. To do this click on Window -> Open Perspective -> Other.
This will open a new window with a list of perspectives you can use.
Click the PHP icon then the Ok button. You will now have the PHPEclipse perspective activated. If you do not see the php icon insure that you have PHPEclipse installed.
PHP Project Wizard
If you right click in the navigator view port, select New-> PHP Project.
This action will open the PHP Project Wizard. In here you will name your project and select it's location. We will be leaving the check box to "Use default location" selected in this guide. We have also named our project Sample_Project. Once you have named your project click the "Finish" button. You should now have a new PHP Project open in the Navigator view port.
New PHP File
Now that we have a project, we can now create a new php file. To do this right click in the Navigator view port and select New -> PHP File.
This action will open the PHP File Wizard.
Give your file a name, we have used "intro.php" for this guide, and then click the finish button. Leave the container to the name of your project. After clicking "Finish" you should have a new file opened with the default php tags and file comment.
You can now start to work on your project, add new directories, more files, and discover more of what PHPEclipse has to offer.
Attachments
- final_php.png (93.4 kB) -
Final output
, added by ed_mann on 05/30/08 13:40:18. - new_php_file.png (12.5 kB) -
New PHP File
, added by ed_mann on 05/30/08 13:40:31. - new_php_file_wizard.png (16.1 kB) -
New PHP File wizard
, added by ed_mann on 05/30/08 13:40:41. - new_php_project.png (9.9 kB) -
New PHP Project
, added by ed_mann on 05/30/08 13:40:51. - other_perspective.png (18.4 kB) -
other perspective
, added by ed_mann on 05/30/08 13:41:18. - php_project_wizard.png (26.5 kB) -
PHP Project Wizard
, added by ed_mann on 05/30/08 13:41:27. - open_perspective_list.png (25.0 kB) -
open perspective
, added by ed_mann on 05/30/08 13:42:03.
