Configuring the php running environment under Win7

WBOY
Release: 2016-07-29 09:00:10
Original
1692 people have browsed it

The company needs to run php under Win7. Since it has not been configured with a development environment under Win for a long time, I took a detour and recorded it.

Operating system: Win7_x64

Apache version: httpd-2.4.18-win64-VC11.zip
Download address: http://www.apachelounge.com/download/VC11/binaries/httpd-2.4.18-win64-VC11.zip

PHP version: PHP 5.6 (5.6.19) VC11 x64 Thread Safe
Download address: http://windows.php.net/downloads/releases/php-5.6.19-Win32-VC11-x64.zip

(Due to blindness, I downloaded 32-bit php, and then Apache couldn’t get up. There is no error log, which leads to a long time of tossing! )

VC++ runtime library: Visual C++ Redistributable for Visual Studio 2012
Download address: https://www.microsoft.com/en-us/download/details.aspx?id=30679

Add the following 2 lines to httpd.conf
LoadModule php5_module “d:/data/apps/php5.6.19/php5apache2_2.dll”
PHPIniDir "d:/data/apps/php5.6.19"

').addClass('pre-numbering').hide(); $(this).addClass('has-numbering').parent().append($numbering); for (i = 1; i ').text(i)); }; $numbering.fadeIn(1700); }); });

The above introduces how to configure the PHP running environment under Win7, including the relevant aspects. I hope it will be helpful to friends who are interested in PHP tutorials.

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!