配置apahce+php+mysql

装apache

解压php

拷贝 php5ts.dll php.ini 到 C:\windows\ 目录
拷贝 libeay32.dll libmcrypt.dll libmhash.dll libmysql.dll libswish-e.dll ssleay32.dll yaz.dll 到 C:\windows\system\

修改 D:\php\php.ini
查找 extension_dir
修改 extension_dir = "D:\php\ext"

查找 extension=php_mysql.dll
把前面的 ; 去掉


修改 apache

添加
LoadModule php5_module "D:/php/php5apache2.dll"
PHPIniDir "D:/php"
AddType application/x-httpd-php .php

你可能感兴趣的:(apache,windows,PHP,mysql,ext)