PHP development environment with series (3)-Project source code ing

Source: Internet
Author: User
PHP development environment configuration series (III)-Project source code ing & nbsp; after installing the XDebug configuration in the PhpEclipse + XAMPP environment last night, you can start typing two lines of code. Before java development, specify a tomcat version and path in the server, deploy in the server, and configure the series in the star PHP development environment (3)-Project source code ing
After compiling the XDebug configuration in the PhpEclipse + XAMPP environment last night, you can start typing two sentences of code. During java development in the past, specify a tomcat version and path in the server, deploy in the server, and start or debug. However, in php Development, it seems that there is no such integrated stuff, maybe even I don't know. Let's just follow what we know.

After completing "PHP development environment configuration series (1)-Apache cannot be started (SSL conflict)" and "PHP development environment configuration series (2)-XDebug settings, I found myself beginning to like to take such notes and continue writing. this is "PHP development environment configuration series (3)-Project source code ing".

The source code of the php project must be published to xampp for running and debugging. Therefore, the first thought must be to modify the location of htdocs in apache. If not, open % XAMPP_HOME %/apache/conf/httpd. conf and copy the backup file so that you do not have to go back after correction.

There are roughly two changes: DocumentRoot and Directory. it is very fast to know what to change. Open httpd. conf, press Ctrl + F to search for DocumentRoot and Directory in full text, and find the following two sections:

DocumentRoot "D:/xampp/htdocs"

 


Replace the content in the quotation marks with the workspace path in PhpEclipse, and restart apache in the XAMPP Control Panel.

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.