1 頁 (共 1 頁)

VISTA php+apache+mysql

發表於 : 2007-11-20 21:51:27
yehlu
http.conf
DocumentRoot "C:/Z"

<Directory>

Options Indexes FollowSymLinks

DirectoryIndex index.php


# For PHP 5 do something like this:
LoadModule php5_module "c:/php/php5apache2.dll"
AddType application/x-httpd-php .php
# configure the path to php.ini
PHPIniDir "C:/php"

#將 php5ts.dll、libmysql.dll、php.ini-dist copy 到 C:\WINDOWS

php.ini
extension_dir = "c:/php/ext"
extension=php_mbstring.dll
extension=php_mysql.dll

MySQL 設定
mysql\bin\MySQLInstanceConfig.exe

my.ini
datadir="C:/Z/mysql/"