Win7 x64下配置apache和php

 

Win7 x64位配置APACHE和PHP有两种方法:

 

一。安装win32版本

httpd-2.2.19-win32-x86-no_ssl.msi

php-5.2.17-Win32-VC6-x86.zip

 

 

DirectoryIndex index .php index .html

 

LoadModule php5_module "d:/php/php5apache2_2.dll"
PHPIniDir "d:/php"
AddType application/x-httpd-php .html .php

 

extension_dir = "d:/php/ext/"

extension=php_curl.dll
extension=php_gd2.dll
extension=php_mbstring.dll
extension=php_mysql.dll
extension=php_pdo_mysql.dll
extension=php_pdo_odbc.dll
extension=php_xmlrpc.dll
date.timezone = Asia/Shanghai

 

加入PATH环境变量: d:\php; d:\php\ext

将php5ts.dll和php.ini拷到c:\windows\system32

 

一。安装win64版本

httpd-2.2.19-win64.rar

php-5.3.6-Win32-VC9-x64.zip

 

你可能感兴趣的:(Win7 x64下配置apache和php)