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. 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, seemingly no PHP development environment configuration series (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