PHP Development Environment with series (iii)-Project source mapping

Source: Internet
Author: User
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

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.