Reprinted in: Click to open the link
php5.5 has made a lot of updates, and it is also very particular about how to choose when matching with apache. Here we take 64-bit php5.6 and Apache2.4 as an example Describes how to configure.
Tools/Materials
Win7/8 64-bit
php5.5.6 6-bit
Ap ache2.4 64-bit
1 System environment and software
1
php5.5.6 Download link: Click to open the link
Recommended V11 x64, which is 64bit.
2
apache2.4, download link: click to open the link
V11, 64-bit is also recommended.
3
The V11 mentioned earlier is a component of Microsoft. If it is not installed, it will prompt that msvcr110.dll is missing.
Download link: http://www.microsoft.com/zh-CN/download/details.aspx?id=30679
Please download the 64bit version.
4
It is very simple to install V11 according to the boot. Finally, you need to restart once
END
2 php5.5.6 configuration
1
Unzip the downloaded php, create a new folder php on the D drive, and copy all the unzipped files to d:php.
+ Configuration1
Unzip the downloaded Apache compressed package and copy it to d:Apache24.
Enter the ServerRoot line Modify it to ServerRoot "D:Apache24". The one between the double quotes is the location where your apache is placed
3
Modify D:Apache24confhttpd.conf.
Modify DocumentRoot as follows:DocumentRoot "d:/Apache24/htdocs"
4
Add the following lines to add support for php5 Support:LoadModule php5_module D:/php/php5apache2_4.dll
AddType application/x-httpd-php .php .html .htm
# configure the path to php.iniPHPIniDir " D:/php"5
Tips: d:apache24binhttpd.exe -k install, this sentence can add apache to the system service.
END 4 Harvest the fruits of victoryOpen 127.0.0.1:8080 in the browser, can you see it works? This means your apache is already working .
Modify D:Apache24htdocsindex.html, add , save.
END
NotesDon’t forget to install V11
Please pay attention to your php and apache paths and modify httpd.conf The content in
The above introduces the installation and configuration of php + apache, including the relevant content. I hope it will be helpful to friends who are interested in PHP tutorials.