EclipsePHPEclipse configuration, eclipsephpeclipse. EclipsePHPEclipse configuration, eclipsephpeclipse recently occasionally takes some time to read the php book. Speaking of php, you have to mention the php development environment. generally, apac Eclipse PHPEclipse is used to configure eclipsephpeclipse.
Recently, I occasionally took some time to read php books. Speaking of php, you have to mention the php development environment. generally, apache is used as the Server, mysql is used as the database, and php is combined into a complete runtime environment, but it seems that there is no compiler for writing code. I have been using notepad to write php code by hand. later I heard that eclipse can also be used to develop php. I only need a php plug-in called "PHPEclipse ". PHPEclipse is an Eclipse plug-in that provides an integrated development environment for PHP developers. See the official website for details: http://www.phpeclipse.com/
The following describes how to install, set, and use PHPEclipse in Eclipse:
1. install apache + mysql + php + eclipse The installation here is not the focus of this article, but I still want to say here that apache + mysql + php is too complicated if it is too complicated to install it one by one and then configure it together, we recommend an integrated installation package "Xampp". Xampp includes apache, mysql, and php, and you do not need to set other items separately after installation. this is very convenient and highly recommended. 2. download PHPEclipse Can you download PHPEclipse's Binarry version (http://sourceforge.net/projects/phpeclipse? Source = typ_redirect) 3. install PHPEclipse Copy all the content in the extracted features folder from the downloaded package to the features folder in the eclipse root directory, for example, copy to: D: eclipse \ features (find features wherever eclipse is installed ). Similarly, copy all the contents in the plugins folder in the compressed package to the plugins folder in the eclipse root directory. Copy site. xml from the compressed package to the Eclipse root directory. 4. configure PHPEclipse 1. restart eclipse. 2. Open eclipse and choose Window> Open Perspective> Other... 3. in the Open Perspective window, select the PHP option. 4. you can see the PHP tab in the upper-right corner of Eclipse, so that you can switch between the java, debug, and php modes. 5. in Eclipse, select Window> Preferences. in the pop-up Preferences Window, click PHPeclipse> PHP External Tools from the left-side menu bar to modify the PHP configuration information. Three sub-menus of PHP External Tools: Apache, MySQL, and XAMPP are used to set configuration information of Apache, MySQL, and XAMPP. 6. click the Apache sub-menu to modify Apache configuration information. Change the Apache path to the local installation path. Modify the sample. the specific value is subject to your computer. 7. modify MySQL configuration information 8. modify the XAMPP configuration information 5. use PHPEclipse 1. switch Eclipse to the PHP view, and choose File> New> PHP Project to create a PHP Project. In the New PHPProject window, enter the Project name, select the Project storage location, and click Finish. 2. select the created Hello World project, right-click the project, and choose New> PHP File from the shortcut menu. 3. in the new window that appears, enter the php file name, such as index. php, and then click next. |
Http://php.662p.com/thread-512-1-1.html
Http://www.bkjia.com/PHPjc/914482.htmlwww.bkjia.comtruehttp://www.bkjia.com/PHPjc/914482.htmlTechArticleEclipse PHPEclipse configuration, eclipphpeclipse recently occasionally take advantage of some time, looked at the php book. Speaking of php, you have to mention the php development environment. generally, apac is used...