Win7 64 build 64-bit Apache httpd php mysql

Source: Internet
Author: User
Tags php mysql vc9 win32

Prepared software

1 mysql:http://mysql.com/downloads/mysql/

2 Apache Httpd-2.2.19-win64.rar http://www.blackdot.be/?inc=apache/binaries

3 Php-5.3.6-win32-vc9-x64.zip http://u.115.com/file/bhbzi39y Source is csdn, but csdn download is not original, source is http://www.anindya.com/

4 Eaccelerator-0.9.6.1_php-5.3.6-win32-vc9-x64.zip HTTP://U.115.COM/FILE/AQ2ZK9S3

5 Xdebug http://xdebug.org/download.php

[Optional]

6 JDK

7 NetBeans

Installation

1 Installing MySQL

2 Extracting PHP d:\php

3 D:\php\ext\eAccelerator.dll

4 D:\php\ext\php_xdebug-2.1.1-5.3-vc9-x86_64.dll

5 decompression, Apache D:\Program files\httpd-2.2-x64

Configuration

1 PHP

Php.ini-development copy, renaming, php.ini

Ini

809 Extension_dir = "D:\php\ext"

947-988 Open as appropriate, GD2, MySQL, SQLite, PDO MySQL, pgsql, etc. are usually turned on

997 Date.timezone = "Asia/shanghai"

989 Extension=eaccelerator.dll

990 Extension=php_xdebug-2.1.1-5.3-vc9-x86_64.dll

Copy the following to PHP.ini last

[Eaccelerator]

eaccelerator.shm_size= "32"///default is 16M, if you just do a general programming test environment, 32M is enough
eaccelerator.cache_dir= "d:\php\eAcceleratorTemp"/ /need to be created manually, ensure that the permissions are read-write, and do not move this directory
eaccelerator.enable= "1"
eaccelerator.optimizer= "1"
Eaccelerator.check_m Time= "1"
eaccelerator.debug= "0"
eaccelerator.filter= ""
eaccelerator.shm_max= "0"
Eaccelerator.s    Hm_ttl= "0"
eaccelerator.shm_prune_period= "0"
eaccelerator.shm_only= "0"
eaccelerator.compress= "1"
Eaccelerator.compress_level= "9"

[Xdebug]

zend_extension= "D:\php\ext\php_xdebug-2.1.1-5.3-vc9-x86_64.dll"

Xdebug.remote_enable=1

Xdebug.remote_host=localhost

xdebug.remote_port=9000

Xdebug.remote_handler=dbgp

2 Apache httpd

D:\Program files\httpd-2.2-x64\conf\httpd.conf

119 LoadModule Rewrite_module modules/mod_rewrite.so

179 DocumentRoot "D:\Program Files\httpd-2.2-x64\htdocs"

206 <directory "D:\Program Files\httpd-2.2-x64\htdocs" >

342 <directory "D:\Program files\httpd-2.2-x64\cgi-bin" >

129-131

LoadModule Php5_module D:/php/php5apache2_2.dll

Phpinidir "d:/php"

AddType application/x-httpd-php. php

244 DirectoryIndex index.html index.htm index.php

Install httpd service D:\Program files\httpd-2.2-x64\bin\httpd-k Install

Win7 64 build 64-bit Apache httpd php mysql

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.