This article is original. If you need to reprint it, please indicate the author and the source. Thank you!
1. Find <ifmodule mime_module> In the httpd. conf file of Apache and add the following two lines.
Addtype application/X-httpd-PHP. php
Addtype application/X-httpd-PHP-source. PHPs
Note: There are spaces before. php and. PHPs.
2. Locate the loadmodule section and add the following line
Loadmodule php5_module D:/tools/Language/php5.2/php5apache2_2.dll
3. You can modify the Apache web root directory. You need to modify it in two places. If you want to change it to D:/root, modify the following two lines.
DocumentRoot "C:/program files/Apache Group/apache2/htdocs"
Change
DocumentRoot "D:/root"
<Directory "C:/program files/Apache Group/apache2/htdocs">
Change
<Directory "D:/root">
The best Google Android technology community in China (eoeandroid). Welcome to visit!
Galaxy series original tutorial released
Java Web development quick learning guide published, please order