1.php and Apache installation path
2. Installing Apache service httpd-k Install
Turn off restart service Http-k Start/stop/restart
3.php.ini-development renamed to PHP.ini
4. Configure the Apache httpd.conf to associate the PHP parser. At the end of the add
LoadModule php5_module "F:\APP\IDE\PHP\php5\php5apache2_4.dll"
Phpinidir "F:\APP\IDE\PHP\PHP5"
Add inside the <ifmodule mime_module>
AddType application/x-httpd-php. php
5. Change the server default directory
1 #DocumentRoot "F:\app\ide\php\apache24/htdocs"2 documentroot "D:\a\php\root"3 Alias/ap "F:\app\ide\php\apache24/htdocs"4 alias/test "D:\a\php\test"5 alias/temp "D:\a\php\temp"6 7 <Directory"D:\a\php\root">8 Require All granted9 Options Indexes followsymlinksTen allowoverride None One Order Allow,deny A allow from all - Satisfy All - </Directory> the <Directory"D:\a\php\test"> - Require All granted - Options Indexes followsymlinks - allowoverride None + Order Allow,deny - allow from all + Satisfy All A </Directory> at <Directory"D:\a\php\temp"> - Require All granted - Options Indexes followsymlinks - allowoverride None - Order Allow,deny - allow from all in Satisfy All - </Directory> to <Directory"F:\app\ide\php\apache24/htdocs"> + # - # Possible values for the Options directive is "None", "All", the # or any combination of: * # Indexes includes followsymlinks symlinksifownermatch execcgi multiviews $ #Panax Notoginseng # Note that "MultiViews" must is named *explicitly*---"Options all" - # doesn ' t give it to you. the # + # The Options directive is both complicated and important. Please see A # http://httpd.apache.org/docs/2.4/mod/core.html#options the # for more information. + # - Options Indexes followsymlinks $ $ # - # AllowOverride Controls What directives is placed in. htaccess files. - # It can be ' all ', ' None ', or any combination of the keywords: the # allowoverride FileInfo authconfig Limit - #Wuyi allowoverride None the - # Wu # Controls who can get stuff from the this server. - # About Require All granted $ </Directory>