PHP Development Environment Configuration Series (iii)-Project source mapping
Got it fixed last night. After the Xdebug configuration in the PHPECLIPSE+XAMPP environment, you can start knocking on two lines of code. In the previous Java development, specify a tomcat version and path in the server, and then deploy in the server, then start or debug can, but in the development of PHP, it seems that there is no such integration, it may be I do not know, hehe. Just follow what you know.
Completed the "PHP Development Environment Configuration Series (i)-apache cannot start (SSL conflict)" and "PHP Development Environment Configuration Series (ii)-xdebug settings", found that they began to like to do this note, continue to write, this time is "PHP Development Environment Configuration Series (iii)-Project source mapping 》。
PHP Project source code to be published to XAMPP in order to run and debug, so the first thought, must be modified Apache in the location of Htdocs. Apart, open the%xampp_home%/apache/conf/httpd.conf, copy back up a copy, so as not to go back after the wrong change.
Roughly to change two places, one is DocumentRoot, the other is directory, know what to change soon. Open httpd.conf, and then ctrl+f full-Text search DocumentRoot and directory, and then locate the following two paragraphs:
DocumentRoot "D:/xampp/htdocs"
Replace the contents of the quotation marks with the workspace path in your phpeclipse, and then restart Apache in the Xampp Control panel to finish at ease.
This address: http://ryan-d.iteye.com/blog/1541364